Class EventLogger
java.lang.Object
org.apache.logging.log4j.EventLogger
Deprecated.
Convenience to log
StructuredDataMessages.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MarkerDeprecated.Defines the Event Marker.private static final StringDeprecated.private static final ExtendedLoggerDeprecated.private static final StringDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeprecated.Logs events with a level of ALL.static voidlogEvent(StructuredDataMessage msg, Level level) Deprecated.Logs events and specify the logging level.
-
Field Details
-
EVENT_MARKER
-
NAME
-
FQCN
Deprecated. -
LOGGER
Deprecated.
-
-
Constructor Details
-
EventLogger
private EventLogger()Deprecated.
-
-
Method Details
-
logEvent
Deprecated.Logs events with a level of ALL.- Parameters:
msg- The event StructuredDataMessage.
-
logEvent
Deprecated.Logs events and specify the logging level.- Parameters:
msg- The event StructuredDataMessage.level- The logging Level.
-
LoggeracceptsStructuredDataMessages, users should use to that instead.