public class DefaultLogEventFactory extends Object implements LogEventFactory
Constructor and Description |
---|
DefaultLogEventFactory() |
Modifier and Type | Method and Description |
---|---|
LogEvent |
createEvent(String loggerName,
Marker marker,
String fqcn,
Level level,
Message data,
List<Property> properties,
Throwable t)
Creates a log event.
|
static DefaultLogEventFactory |
getInstance() |
public static DefaultLogEventFactory getInstance()
public LogEvent createEvent(String loggerName, Marker marker, String fqcn, Level level, Message data, List<Property> properties, Throwable t)
createEvent
in interface LogEventFactory
loggerName
- The name of the Logger.marker
- An optional Marker.fqcn
- The fully qualified class name of the caller.level
- The event Level.data
- The Message.properties
- Properties to be added to the log event.t
- An optional Throwable.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.