Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.logging.log4j
Class EventLogger

    java.lang.Object
      org.apache.logging.log4j.EventLogger

    public final class EventLogger

extends Object

Logs "Events" that are represented as StructuredDataMessages.

Field Summary
`static Marker` | `EVENT_MARKER` Define the Event Marker.

Method Summary
`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.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### EVENT_MARKER

    public static final Marker EVENT_MARKER

  Define the Event Marker.

Method Detail

### logEvent

    public static void logEvent(StructuredDataMessage msg)

  Log events with a level of ALL.

  Parameters:
    `msg` - The event StructuredDataMessage.

### logEvent

    public static void logEvent(StructuredDataMessage msg,
                                Level level)

  Log events and specify the logging level.

  Parameters:
    `msg` - The event StructuredDataMessage.
    `level` - The logging Level.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2015 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.