Module glf.api

Class DefaultLogger

java.lang.Object
org.seppiko.glf.event.DefaultLogger
All Implemented Interfaces:
Logger

public class DefaultLogger extends Object implements Logger
A Logger implementation class for registration caller.
Author:
Leonard Woo
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Logger
      Return the name of this Logger instance.
      Specified by:
      getName in interface Logger
      Returns:
      name of this logger instance.
    • setDelegate

      public void setDelegate(Logger delegate)
    • delegate

      public Logger delegate()
    • atLevel

      public LoggerEventBuilder atLevel(Level level)
      Description copied from interface: Logger
      Make a new LoggerEventBuilder instance as appropriate for this logger and the desired Level passed as parameter. If this Logger is disabled for the given Level, then a NOPLoggerEventBuilder is returned.
      Specified by:
      atLevel in interface Logger
      Parameters:
      level - desired level for the event builder.
      Returns:
      a new LoggerEventBuilder instance as appropriate for this logger.
    • isEnable

      public boolean isEnable(Level level)
      Description copied from interface: Logger
      Returns whether this Logger is enabled for a given Level.
      Specified by:
      isEnable in interface Logger
      Parameters:
      level - The level to take into consideration.
      Returns:
      true if enabled, false otherwise.
    • isEnable

      public boolean isEnable(Level level, Marker marker)
      Description copied from interface: Logger
      Returns whether this Logger is enabled for a given Level and Marker.
      Specified by:
      isEnable in interface Logger
      Parameters:
      level - The level to take into consideration.
      marker - The marker data to take into consideration.
      Returns:
      true if enabled, false otherwise.
    • isTraceEnabled

      public boolean isTraceEnabled()
      Description copied from interface: Logger
      Is the logger instance enabled for the TRACE level?
      Specified by:
      isTraceEnabled in interface Logger
      Returns:
      True if this Logger is enabled for the TRACE level, false otherwise.
    • isTraceEnabled

      public boolean isTraceEnabled(Marker marker)
      Description copied from interface: Logger
      Similar to Logger.isTraceEnabled() method except that the marker data is also taken into account.
      Specified by:
      isTraceEnabled in interface Logger
      Parameters:
      marker - The marker data to take into consideration.
      Returns:
      True if this Logger is enabled for the TRACE level, false otherwise.
    • trace

      public void trace(String message)
      Description copied from interface: Logger
      Log a message at the TRACE level according to the specified format and arguments.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message string to be logged.
    • trace

      public void trace(String message, Object param)
      Description copied from interface: Logger
      Log a message at the TRACE level according to the specified format and argument.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message string to be logged.
      param - the argument.
    • trace

      public void trace(String message, Object... params)
      Description copied from interface: Logger
      Log a message at the TRACE level according to the specified format and arguments.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message string to be logged.
      params - an array of arguments.
    • trace

      public void trace(String message, Throwable cause)
      Description copied from interface: Logger
      Log an exception (throwable) at the TRACE level with an accompanying message.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message string to be logged.
      cause - the exception (throwable) to log.
    • trace

      public void trace(String message, Object param, Throwable cause)
      Description copied from interface: Logger
      Log a message at the TRACE level according to the specified format and argument and an exception (throwable) with an accompanying message.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message string to be logged.
      param - the argument.
      cause - the exception (throwable) to log.
    • trace

      public void trace(String message, Object[] params, Throwable cause)
      Description copied from interface: Logger
      Log a message at the TRACE level according to the specified format and arguments and an exception (throwable) with an accompanying message.
      Specified by:
      trace in interface Logger
      Parameters:
      message - the message string to be logged.
      params - an array of arguments.
      cause - the exception (throwable) to log.
    • trace

      public void trace(Marker marker, String message)
      Description copied from interface: Logger
      Log a message with the specific Marker at the TRACE level.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
    • trace

      public void trace(Marker marker, String message, Object param)
      Description copied from interface: Logger
      This method is similar to Logger.trace(String, Object) method except that the marker data is also taken into consideration.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      param - the argument.
    • trace

      public void trace(Marker marker, String message, Object... params)
      Description copied from interface: Logger
      This method is similar to Logger.trace(String, Object...) method except that the marker data is also taken into consideration.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      params - an array of arguments.
    • trace

      public void trace(Marker marker, String message, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.trace(String, Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      cause - the exception (throwable) to log.
    • trace

      public void trace(Marker marker, String message, Object param, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.trace(String, Object, Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      param - the argument.
      cause - the exception (throwable) to log.
    • trace

      public void trace(Marker marker, String message, Object[] params, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.trace(String, Object[], Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      trace in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      params - an array of arguments.
      cause - the exception (throwable) to log.
    • atTrace

      public LoggerEventBuilder atTrace()
      Description copied from interface: Logger
      Entry point for fluent-logging for Level.TRACE level.
      Specified by:
      atTrace in interface Logger
      Returns:
      LoggingEventBuilder instance as appropriate for level TRACE
    • isDebugEnabled

      public boolean isDebugEnabled()
      Description copied from interface: Logger
      Is the logger instance enabled for the DEBUG level?
      Specified by:
      isDebugEnabled in interface Logger
      Returns:
      True if this Logger is enabled for the DEBUG level, false otherwise.
    • isDebugEnabled

      public boolean isDebugEnabled(Marker marker)
      Description copied from interface: Logger
      Similar to Logger.isDebugEnabled() method except that the marker data is also taken into account.
      Specified by:
      isDebugEnabled in interface Logger
      Parameters:
      marker - The marker data to take into consideration.
      Returns:
      True if this Logger is enabled for the DEBUG level, false otherwise.
    • debug

      public void debug(String message)
      Description copied from interface: Logger
      Log a message at the DEBUG level according to the specified format and arguments.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message string to be logged.
    • debug

      public void debug(String message, Object param)
      Description copied from interface: Logger
      Log a message at the DEBUG level according to the specified format and argument.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message string to be logged.
      param - the argument.
    • debug

      public void debug(String message, Object... params)
      Description copied from interface: Logger
      Log a message at the DEBUG level according to the specified format and arguments.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message string to be logged.
      params - an array of arguments.
    • debug

      public void debug(String message, Throwable cause)
      Description copied from interface: Logger
      Log an exception (throwable) at the DEBUG level with an accompanying message.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message string to be logged.
      cause - the exception (throwable) to log.
    • debug

      public void debug(String message, Object param, Throwable cause)
      Description copied from interface: Logger
      Log a message at the DEBUG level according to the specified format and argument and an exception (throwable) with an accompanying message.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message string to be logged.
      param - the argument.
      cause - the exception (throwable) to log.
    • debug

      public void debug(String message, Object[] params, Throwable cause)
      Description copied from interface: Logger
      Log a message at the DEBUG level according to the specified format and arguments and an exception (throwable) with an accompanying message.
      Specified by:
      debug in interface Logger
      Parameters:
      message - the message string to be logged.
      params - an array of arguments.
      cause - the exception (throwable) to log.
    • debug

      public void debug(Marker marker, String message)
      Description copied from interface: Logger
      Log a message with the specific Marker at the DEBUG level.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
    • debug

      public void debug(Marker marker, String message, Object param)
      Description copied from interface: Logger
      This method is similar to Logger.debug(String, Object) method except that the marker data is also taken into consideration.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      param - the argument.
    • debug

      public void debug(Marker marker, String message, Object... params)
      Description copied from interface: Logger
      This method is similar to Logger.debug(String, Object...) method except that the marker data is also taken into consideration.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      params - an array of arguments.
    • debug

      public void debug(Marker marker, String message, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.debug(String, Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      cause - the exception (throwable) to log.
    • debug

      public void debug(Marker marker, String message, Object param, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.debug(String, Object, Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      param - the argument.
      cause - the exception (throwable) to log.
    • debug

      public void debug(Marker marker, String message, Object[] params, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.debug(String, Object[], Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      debug in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      params - an array of arguments.
      cause - the exception (throwable) to log.
    • atDebug

      public LoggerEventBuilder atDebug()
      Description copied from interface: Logger
      Entry point for fluent-logging for Level.DEBUG level.
      Specified by:
      atDebug in interface Logger
      Returns:
      LoggingEventBuilder instance as appropriate for level DEBUG
    • isInfoEnabled

      public boolean isInfoEnabled()
      Description copied from interface: Logger
      Is the logger instance enabled for the INFO level?
      Specified by:
      isInfoEnabled in interface Logger
      Returns:
      True if this Logger is enabled for the INFO level, false otherwise.
    • isInfoEnabled

      public boolean isInfoEnabled(Marker marker)
      Description copied from interface: Logger
      Similar to Logger.isInfoEnabled() method except that the marker data is also taken into account.
      Specified by:
      isInfoEnabled in interface Logger
      Parameters:
      marker - The marker data to take into consideration.
      Returns:
      True if this Logger is enabled for the INFO level, false otherwise.
    • info

      public void info(String message)
      Description copied from interface: Logger
      Log a message at the INFO level according to the specified format and arguments.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message string to be logged.
    • info

      public void info(String message, Object param)
      Description copied from interface: Logger
      Log a message at the INFO level according to the specified format and argument.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message string to be logged.
      param - the argument.
    • info

      public void info(String message, Object... params)
      Description copied from interface: Logger
      Log a message at the INFO level according to the specified format and arguments.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message string to be logged.
      params - an array of arguments.
    • info

      public void info(String message, Throwable cause)
      Description copied from interface: Logger
      Log an exception (throwable) at the INFO level with an accompanying message.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message string to be logged.
      cause - the exception (throwable) to log.
    • info

      public void info(String message, Object param, Throwable cause)
      Description copied from interface: Logger
      Log a message at the INFO level according to the specified format and argument and an exception (throwable) with an accompanying message.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message string to be logged.
      param - the argument.
      cause - the exception (throwable) to log.
    • info

      public void info(String message, Object[] params, Throwable cause)
      Description copied from interface: Logger
      Log a message at the INFO level according to the specified format and arguments and an exception (throwable) with an accompanying message.
      Specified by:
      info in interface Logger
      Parameters:
      message - the message string to be logged.
      params - an array of arguments.
      cause - the exception (throwable) to log.
    • info

      public void info(Marker marker, String message)
      Description copied from interface: Logger
      Log a message with the specific Marker at the INFO level.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
    • info

      public void info(Marker marker, String message, Object param)
      Description copied from interface: Logger
      This method is similar to Logger.info(String, Object) method except that the marker data is also taken into consideration.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      param - the argument.
    • info

      public void info(Marker marker, String message, Object... params)
      Description copied from interface: Logger
      This method is similar to Logger.info(String, Object...) method except that the marker data is also taken into consideration.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      params - an array of arguments.
    • info

      public void info(Marker marker, String message, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.info(String, Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      cause - the exception (throwable) to log.
    • info

      public void info(Marker marker, String message, Object param, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.info(String, Object, Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      param - the argument.
      cause - the exception (throwable) to log.
    • info

      public void info(Marker marker, String message, Object[] params, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.info(String, Object[], Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      info in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      params - an array of arguments.
      cause - the exception (throwable) to log.
    • atInfo

      public LoggerEventBuilder atInfo()
      Description copied from interface: Logger
      Entry point for fluent-logging for Level.INFO level.
      Specified by:
      atInfo in interface Logger
      Returns:
      LoggingEventBuilder instance as appropriate for level INFO
    • isWarnEnabled

      public boolean isWarnEnabled()
      Description copied from interface: Logger
      Is the logger instance enabled for the WARN level?
      Specified by:
      isWarnEnabled in interface Logger
      Returns:
      True if this Logger is enabled for the WARN level, false otherwise.
    • isWarnEnabled

      public boolean isWarnEnabled(Marker marker)
      Description copied from interface: Logger
      Similar to Logger.isWarnEnabled() method except that the marker data is also taken into account.
      Specified by:
      isWarnEnabled in interface Logger
      Parameters:
      marker - The marker data to take into consideration.
      Returns:
      True if this Logger is enabled for the WARN level, false otherwise.
    • warn

      public void warn(String message)
      Description copied from interface: Logger
      Log a message at the WARN level according to the specified format and arguments.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message string to be logged.
    • warn

      public void warn(String message, Object param)
      Description copied from interface: Logger
      Log a message at the WARN level according to the specified format and argument.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message string to be logged.
      param - the argument.
    • warn

      public void warn(String message, Object... params)
      Description copied from interface: Logger
      Log a message at the WARN level according to the specified format and arguments.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message string to be logged.
      params - an array of arguments.
    • warn

      public void warn(String message, Throwable cause)
      Description copied from interface: Logger
      Log an exception (throwable) at the WARN level with an accompanying message.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message string to be logged.
      cause - the exception (throwable) to log.
    • warn

      public void warn(String message, Object param, Throwable cause)
      Description copied from interface: Logger
      Log a message at the WARN level according to the specified format and argument and an exception (throwable) with an accompanying message.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message string to be logged.
      param - the argument.
      cause - the exception (throwable) to log.
    • warn

      public void warn(String message, Object[] params, Throwable cause)
      Description copied from interface: Logger
      Log a message at the WARN level according to the specified format and arguments and an exception (throwable) with an accompanying message.
      Specified by:
      warn in interface Logger
      Parameters:
      message - the message string to be logged.
      params - an array of arguments.
      cause - the exception (throwable) to log.
    • warn

      public void warn(Marker marker, String message)
      Description copied from interface: Logger
      Log a message with the specific Marker at the WARN level.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
    • warn

      public void warn(Marker marker, String message, Object param)
      Description copied from interface: Logger
      This method is similar to Logger.warn(String, Object) method except that the marker data is also taken into consideration.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      param - the argument.
    • warn

      public void warn(Marker marker, String message, Object... params)
      Description copied from interface: Logger
      This method is similar to Logger.warn(String, Object...) method except that the marker data is also taken into consideration.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      params - an array of arguments.
    • warn

      public void warn(Marker marker, String message, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.warn(String, Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      cause - the exception (throwable) to log.
    • warn

      public void warn(Marker marker, String message, Object param, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.warn(String, Object, Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      param - the argument.
      cause - the exception (throwable) to log.
    • warn

      public void warn(Marker marker, String message, Object[] params, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.warn(String, Object[], Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      warn in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      params - an array of arguments.
      cause - the exception (throwable) to log.
    • atWarn

      public LoggerEventBuilder atWarn()
      Description copied from interface: Logger
      Entry point for fluent-logging for Level.WARN level.
      Specified by:
      atWarn in interface Logger
      Returns:
      LoggingEventBuilder instance as appropriate for level WARN
    • isErrorEnabled

      public boolean isErrorEnabled()
      Description copied from interface: Logger
      Is the logger instance enabled for the ERROR level?
      Specified by:
      isErrorEnabled in interface Logger
      Returns:
      True if this Logger is enabled for the ERROR level, false otherwise.
    • isErrorEnabled

      public boolean isErrorEnabled(Marker marker)
      Description copied from interface: Logger
      Similar to Logger.isErrorEnabled() method except that the marker data is also taken into account.
      Specified by:
      isErrorEnabled in interface Logger
      Parameters:
      marker - The marker data to take into consideration.
      Returns:
      True if this Logger is enabled for the ERROR level, false otherwise.
    • error

      public void error(String message)
      Description copied from interface: Logger
      Log a message at the ERROR level according to the specified format and arguments.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message string to be logged.
    • error

      public void error(String message, Object param)
      Description copied from interface: Logger
      Log a message at the ERROR level according to the specified format and argument.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message string to be logged.
      param - the argument.
    • error

      public void error(String message, Object... params)
      Description copied from interface: Logger
      Log a message at the ERROR level according to the specified format and arguments.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message string to be logged.
      params - an array of arguments.
    • error

      public void error(String message, Throwable cause)
      Description copied from interface: Logger
      Log an exception (throwable) at the ERROR level with an accompanying message.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message string to be logged.
      cause - the exception (throwable) to log.
    • error

      public void error(String message, Object param, Throwable cause)
      Description copied from interface: Logger
      Log a message at the ERROR level according to the specified format and argument and an exception (throwable) with an accompanying message.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message string to be logged.
      param - the argument.
      cause - the exception (throwable) to log.
    • error

      public void error(String message, Object[] params, Throwable cause)
      Description copied from interface: Logger
      Log a message at the ERROR level according to the specified format and arguments and an exception (throwable) with an accompanying message.
      Specified by:
      error in interface Logger
      Parameters:
      message - the message string to be logged.
      params - an array of arguments.
      cause - the exception (throwable) to log.
    • error

      public void error(Marker marker, String message)
      Description copied from interface: Logger
      Log a message with the specific Marker at the ERROR level.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
    • error

      public void error(Marker marker, String message, Object param)
      Description copied from interface: Logger
      This method is similar to Logger.error(String, Object) method except that the marker data is also taken into consideration.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      param - the argument.
    • error

      public void error(Marker marker, String message, Object... params)
      Description copied from interface: Logger
      This method is similar to Logger.error(String, Object...) method except that the marker data is also taken into consideration.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      params - an array of arguments.
    • error

      public void error(Marker marker, String message, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.error(String, Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      cause - the exception (throwable) to log.
    • error

      public void error(Marker marker, String message, Object param, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.error(String, Object, Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      param - the argument.
      cause - the exception (throwable) to log.
    • error

      public void error(Marker marker, String message, Object[] params, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.error(String, Object[], Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      error in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      params - an array of arguments.
      cause - the exception (throwable) to log.
    • atError

      public LoggerEventBuilder atError()
      Description copied from interface: Logger
      Entry point for fluent-logging for Level.ERROR level.
      Specified by:
      atError in interface Logger
      Returns:
      LoggingEventBuilder instance as appropriate for level ERROR
    • isFatalEnabled

      public boolean isFatalEnabled()
      Description copied from interface: Logger
      Is the logger instance enabled for the FATAL level?
      Specified by:
      isFatalEnabled in interface Logger
      Returns:
      True if this Logger is enabled for the FATAL level, false otherwise.
    • isFatalEnabled

      public boolean isFatalEnabled(Marker marker)
      Description copied from interface: Logger
      Similar to Logger.isFatalEnabled() method except that the marker data is also taken into account.
      Specified by:
      isFatalEnabled in interface Logger
      Parameters:
      marker - The marker data to take into consideration.
      Returns:
      True if this Logger is enabled for the FATAL level, false otherwise.
    • fatal

      public void fatal(String message)
      Description copied from interface: Logger
      Log a message at the FATAL level according to the specified format and arguments.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message string to be logged.
    • fatal

      public void fatal(String message, Object param)
      Description copied from interface: Logger
      Log a message at the FATAL level according to the specified format and argument.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message string to be logged.
      param - the argument.
    • fatal

      public void fatal(String message, Object... params)
      Description copied from interface: Logger
      Log a message at the FATAL level according to the specified format and arguments.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message string to be logged.
      params - an array of arguments.
    • fatal

      public void fatal(String message, Throwable cause)
      Description copied from interface: Logger
      Log an exception (throwable) at the FATAL level with an accompanying message.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message string to be logged.
      cause - the exception (throwable) to log.
    • fatal

      public void fatal(String message, Object param, Throwable cause)
      Description copied from interface: Logger
      Log a message at the FATAL level according to the specified format and argument and an exception (throwable) with an accompanying message.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message string to be logged.
      param - the argument.
      cause - the exception (throwable) to log.
    • fatal

      public void fatal(String message, Object[] params, Throwable cause)
      Description copied from interface: Logger
      Log a message at the FATAL level according to the specified format and arguments and an exception (throwable) with an accompanying message.
      Specified by:
      fatal in interface Logger
      Parameters:
      message - the message string to be logged.
      params - an array of arguments.
      cause - the exception (throwable) to log.
    • fatal

      public void fatal(Marker marker, String message)
      Description copied from interface: Logger
      Log a message with the specific Marker at the FATAL level.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
    • fatal

      public void fatal(Marker marker, String message, Object param)
      Description copied from interface: Logger
      This method is similar to Logger.fatal(String, Object) method except that the marker data is also taken into consideration.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      param - the argument.
    • fatal

      public void fatal(Marker marker, String message, Object... params)
      Description copied from interface: Logger
      This method is similar to Logger.fatal(String, Object...) method except that the marker data is also taken into consideration.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      params - an array of arguments.
    • fatal

      public void fatal(Marker marker, String message, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.fatal(String, Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      cause - the exception (throwable) to log.
    • fatal

      public void fatal(Marker marker, String message, Object param, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.fatal(String, Object, Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      param - the argument.
      cause - the exception (throwable) to log.
    • fatal

      public void fatal(Marker marker, String message, Object[] params, Throwable cause)
      Description copied from interface: Logger
      This method is similar to Logger.fatal(String, Object[], Throwable) method except that the marker data is also taken into consideration.
      Specified by:
      fatal in interface Logger
      Parameters:
      marker - the marker data specific to this log statement.
      message - the message string to be logged.
      params - an array of arguments.
      cause - the exception (throwable) to log.
    • atFatal

      public LoggerEventBuilder atFatal()
      Description copied from interface: Logger
      Entry point for fluent-logging for Level.FATAL level.
      Specified by:
      atFatal in interface Logger
      Returns:
      LoggingEventBuilder instance as appropriate for level FATAL