Interface ErrorHandler


  • public interface ErrorHandler
    Handle unrecoverable errors that occur during logging. Based on Log4js notion of ErrorHandlers.
    • Method Summary

      Modifier and Type Method Description
      void error​(java.lang.String message, java.lang.Throwable throwable, LogEvent event)
      Log an unrecoverable error.
    • Method Detail

      • error

        void error​(java.lang.String message,
                   java.lang.Throwable throwable,
                   LogEvent event)
        Log an unrecoverable error.
        Parameters:
        message - the error message
        throwable - the exception associated with error (may be null)
        event - the LogEvent that caused error, if any (may be null)