public final class EventLogger extends Object
Modifier and Type | Field and Description |
---|---|
static Marker |
EVENT_MARKER
Define the Event Marker.
|
Modifier and Type | Method and Description |
---|---|
static void |
logEvent(StructuredDataMessage msg)
Log events with a level of ALL.
|
static void |
logEvent(StructuredDataMessage msg,
Level level)
Log events and specify the logging level.
|
public static final Marker EVENT_MARKER
public static void logEvent(StructuredDataMessage msg)
msg
- The event StructuredDataMessage.public static void logEvent(StructuredDataMessage msg, Level level)
msg
- The event StructuredDataMessage.level
- The logging Level.Copyright © 1999-2021 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.