class StandardDeprecationLogger extends Object implements DeprecationLogger
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
logger |
private static String |
LOGGER_NAME_FORMAT |
private Class<?> |
referenceClass |
| Constructor and Description |
|---|
StandardDeprecationLogger(Class<?> referenceClass)
Standard Deprecation Logger constructor with reference class for deriving logger
|
| Modifier and Type | Method and Description |
|---|---|
private Object[] |
getExtendedArguments(Object... arguments) |
void |
warn(String message,
Object... arguments)
Log deprecation warning with optional arguments for message placeholders and Deprecation Exception for tracking
|
private static final String LOGGER_NAME_FORMAT
private final Class<?> referenceClass
private final org.slf4j.Logger logger
StandardDeprecationLogger(Class<?> referenceClass)
referenceClass - Reference Classpublic void warn(String message, Object... arguments)
warn in interface DeprecationLoggermessage - Message requiredarguments - Variable array of arguments to populate message placeholdersCopyright © 2023 Apache NiFi Project. All rights reserved.