Class DeprecationLog

java.lang.Object
org.apache.solr.logging.DeprecationLog

public class DeprecationLog extends Object
Utility to log a deprecation.
  • Field Details

  • Constructor Details

    • DeprecationLog

      public DeprecationLog()
  • Method Details

    • log

      public static boolean log(String featureId, String message)
      Logs a deprecation warning for the provided feature, but only the first time. The logger name used is "org.apache.solr.DEPRECATED." + featureId. Remember that logger names are disable-able via configuration if needed.
      Returns:
      true if logged