Package org.apache.logging.log4j
Class EventLogger
- java.lang.Object
-
- org.apache.logging.log4j.EventLogger
-
@Deprecated public final class EventLogger extends java.lang.ObjectDeprecated.Deprecated since 2.24.0.LoggeracceptsStructuredDataMessages, users should use to that instead.Convenience to logStructuredDataMessages.
-
-
Field Summary
Fields Modifier and Type Field Description static MarkerEVENT_MARKERDeprecated.Defines the Event Marker.private static java.lang.StringFQCNDeprecated.private static ExtendedLoggerLOGGERDeprecated.private static java.lang.StringNAMEDeprecated.
-
Constructor Summary
Constructors Modifier Constructor Description privateEventLogger()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidlogEvent(StructuredDataMessage msg)Deprecated.Logs events with a level of ALL.static voidlogEvent(StructuredDataMessage msg, Level level)Deprecated.Logs events and specify the logging level.
-
-
-
Field Detail
-
EVENT_MARKER
public static final Marker EVENT_MARKER
Deprecated.Defines the Event Marker.
-
NAME
private static final java.lang.String NAME
Deprecated.- See Also:
- Constant Field Values
-
FQCN
private static final java.lang.String FQCN
Deprecated.
-
LOGGER
private static final ExtendedLogger LOGGER
Deprecated.
-
-
Method Detail
-
logEvent
public static void logEvent(StructuredDataMessage msg)
Deprecated.Logs events with a level of ALL.- Parameters:
msg- The event StructuredDataMessage.
-
logEvent
public static void logEvent(StructuredDataMessage msg, Level level)
Deprecated.Logs events and specify the logging level.- Parameters:
msg- The event StructuredDataMessage.level- The logging Level.
-
-