Package org.apache.solr.logging
Class DeprecationLog
java.lang.Object
org.apache.solr.logging.DeprecationLog
Utility to log a deprecation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOG_PREFIX
- See Also:
-
-
Constructor Details
-
DeprecationLog
public DeprecationLog()
-
-
Method Details
-
log
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
-