Package org.elasticsearch.common.logging
Class DeprecatedMessage
java.lang.Object
org.apache.logging.log4j.message.ParameterizedMessage
org.elasticsearch.common.logging.ESLogMessage
org.elasticsearch.common.logging.DeprecatedMessage
- All Implemented Interfaces:
Serializable
,org.apache.logging.log4j.message.Message
,org.apache.logging.log4j.util.StringBuilderFormattable
A logger message used by
DeprecationLogger
.
Carries x-opaque-id field if provided in the headers. Will populate the x-opaque-id field in JSON logs.- See Also:
-
Field Summary
Fields inherited from class org.apache.logging.log4j.message.ParameterizedMessage
ERROR_MSG_SEPARATOR, ERROR_PREFIX, ERROR_SEPARATOR, ERROR_SUFFIX, RECURSION_PREFIX, RECURSION_SUFFIX
-
Constructor Summary
ConstructorDescriptionDeprecatedMessage
(DeprecationCategory category, String key, String xOpaqueId, String productOrigin, String messagePattern, Object... args) -
Method Summary
Methods inherited from class org.elasticsearch.common.logging.ESLogMessage
asJsonArray, getArguments, getMessagePattern, getValueFor, inQuotes, inQuotes
Methods inherited from class org.apache.logging.log4j.message.ParameterizedMessage
countArgumentPlaceholders, deepToString, equals, format, formatTo, getFormat, getFormattedMessage, getParameters, getThrowable, hashCode, identityToString, toString
-
Field Details
-
ELASTIC_ORIGIN_FIELD_NAME
- See Also:
-
X_OPAQUE_ID_FIELD_NAME
- See Also:
-
KEY_FIELD_NAME
- See Also:
-
-
Constructor Details
-
DeprecatedMessage
-