org.apache.logging.log4j.status
Interface StatusListener

All Known Implementing Classes:
StatusConsoleListener

public interface StatusListener

Interface that allows implementers to be notified of events in the logging system.


Method Summary
 Level getStatusLevel()
          Return the Log Level that this listener wants included.
 void log(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.


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