public final class EventLogger extends Object
StructuredDataMessage
.Modifier and Type | Field and Description |
---|---|
static Marker |
EVENT_MARKER
Defines the Event Marker.
|
Modifier and Type | Method and Description |
---|---|
static void |
logEvent(StructuredDataMessage msg)
Logs events with a level of ALL.
|
static void |
logEvent(StructuredDataMessage msg,
Level level)
Logs 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-2017. 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.