Module xaos.core

Interface LogHandler


  • public interface LogHandler
    Used by LogUtils to send to the information just logged for further processing.
    Author:
    claudio.rosati@esss.se
    • Method Detail

      • handle

        void handle​(Level level,
                    String className,
                    String methodName,
                    String message,
                    Throwable thrown)
        Called by LogUtils log methods to further processing log information.
        Parameters:
        level - Log level.
        className - Name of the class calling one of the LogUtils log methods.
        methodName - Name of the method calling one of the LogUtils log methods.
        message - Log message.
        thrown - Optional exception causing the logging.