Interface ILogHandler
-
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
AbstractLogHandler,DefaultFileLogHandler
public interface ILogHandler extends java.lang.AutoCloseableA 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 voidhandle(@NotNull LogEntry logEntry)Allows to handle this incoming LogEntry from the logger This method can invoked asynchronously or synchronously.
-
-
-
Method Detail
-
handle
void handle(@NotNull @NotNull LogEntry logEntry) throws java.lang.ExceptionAllows 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- Throws:
java.lang.Exception
-
-