Package org.nuxeo.runtime.logging
Class DeprecationLogger
- java.lang.Object
-
- org.nuxeo.runtime.logging.DeprecationLogger
-
public class DeprecationLogger extends Object
Logger for deprecation that can hold the version from which this deprecation starts.If the dev mode is set to
true
then logs the message as warning, otherwise logs as info if this level is enabled, for more details see documentation- Since:
- 7.4
-
-
Constructor Summary
Constructors Constructor Description DeprecationLogger()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
log(String message)
static void
log(String message, String deprecatedVersion)
-