Interface ILogHandler
-
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
AbstractLogHandler
,ConsoleLogHandler
,DefaultFileLogHandler
,InternalPrintStreamLogHandler
,QueuedConsoleLogHandler
public interface ILogHandler extends java.lang.AutoCloseable
A LogHandler should handle an incoming LogEntry. The Operation can be execute asynchronously or synchronously. It depends on the implementation of the logger and the setting of the LogLevel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(LogEntry logEntry)
Allows to handle this incoming LogEntry from the logger This method can invoked asynchronously or synchronously.
-
-
-
Method Detail
-
handle
void handle(LogEntry logEntry)
Allows to handle this incoming LogEntry from the logger This method can invoked asynchronously or synchronously. It depends on the implementation of the logger and the setting of the LogLevel- Parameters:
logEntry
- the new incoming log entry
-
-