org.apache.logging.log4j

Class EventLogger

    • Field Detail

      • EVENT_MARKER

        public static final Marker EVENT_MARKER
        Defines the Event Marker.
    • Method Detail

      • logEvent

        public static void logEvent(StructuredDataMessage msg)
        Logs events with a level of ALL.
        Parameters:
        msg - The event StructuredDataMessage.
      • logEvent

        public static void logEvent(StructuredDataMessage msg,
                                    Level level)
        Logs events and specify the logging level.
        Parameters:
        msg - The event StructuredDataMessage.
        level - The logging Level.

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