public final class EventLogger
extends java.lang.Object
StructuredDataMessage
.Modifier and Type | Field and Description |
---|---|
static Marker |
EVENT_MARKER
Defines the Event Marker.
|
private static java.lang.String |
FQCN |
private static ExtendedLogger |
LOGGER |
private static java.lang.String |
NAME |
Modifier | Constructor and Description |
---|---|
private |
EventLogger() |
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
private static final java.lang.String NAME
private static final java.lang.String FQCN
private static final ExtendedLogger LOGGER
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.