public interface LocationAwareReliabilityStrategy
Modifier and Type | Method and Description |
---|---|
void |
log(Supplier<LoggerConfig> reconfigured,
String loggerName,
String fqcn,
StackTraceElement location,
Marker marker,
Level level,
Message data,
Throwable t)
Logs an event.
|
void log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t)
reconfigured
- supplies the next LoggerConfig if the strategy's LoggerConfig is no longer activeloggerName
- The name of the Logger.fqcn
- The fully qualified class name of the caller.location
- The location of the caller or null.marker
- A Marker or null if none is present.level
- The event Level.data
- The Message.t
- A Throwable or null. 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.