Package org.apache.logging.log4j.status
Interface StatusListener
-
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable,java.util.EventListener
- All Known Implementing Classes:
StatusConsoleListener,StatusLoggerAdmin
public interface StatusListener extends java.io.Closeable, java.util.EventListenerInterface that allows implementers to be notified of events in the logging system.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LevelgetStatusLevel()Return the Log Level that this listener wants included.voidlog(StatusData data)Called as events occur to process the StatusData.
-
-
-
Method Detail
-
log
void log(StatusData data)
Called as events occur to process the StatusData.- Parameters:
data- The StatusData for the event.
-
getStatusLevel
Level getStatusLevel()
Return the Log Level that this listener wants included.- Returns:
- the Log Level.
-
-