Class DeprecationLog

  • public class DeprecationLog
    extends Object
    Utility to log a deprecation.
    • Constructor Detail

      • DeprecationLog

        public DeprecationLog()
    • Method Detail

      • 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.
        true if logged