Interface ILogHandler

  • All Superinterfaces:
    java.lang.AutoCloseable
    All Known Implementing Classes:
    AbstractLogHandler, DefaultFileLogHandler

    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​(@NotNull LogEntry logEntry)
      Allows to handle this incoming LogEntry from the logger This method can invoked asynchronously or synchronously.
      • Methods inherited from interface java.lang.AutoCloseable

        close
    • Method Detail

      • handle

        void handle​(@NotNull
                    @NotNull LogEntry logEntry)
             throws java.lang.Exception
        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
        Throws:
        java.lang.Exception