Package org.apache.logging.log4j.status
Interface StatusListener
- All Superinterfaces:
AutoCloseable
,Closeable
,EventListener
- All Known Implementing Classes:
StatusConsoleListener
Interface that allows implementers to be notified of events in the logging system.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the Log Level that this listener wants included.void
log
(StatusData data) Called as events occur to process the StatusData.
-
Method Details
-
log
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.
-