Interface ComponentLogger

All Superinterfaces:
org.slf4j.Logger

public interface ComponentLogger extends org.slf4j.Logger
An extended type of Logger capable of logging formatted components to the console.

The methods in this logger interface are intended to exactly mirror those methods in Logger that take a format string, but instead accepting Components.

Any args may be passed as Components as well.

Since:
4.11.0
  • Field Summary

    Fields inherited from interface org.slf4j.Logger

    ROOT_LOGGER_NAME
  • Method Summary

    Modifier and Type
    Method
    Description
    Entry point for fluent-logging for Level.DEBUG level.
    Entry point for fluent-logging for Level.ERROR level.
    Entry point for fluent-logging for Level.INFO level.
    atLevel(org.slf4j.event.Level level)
    Create the appropriate builder for the supplied level.
    Entry point for fluent-logging for Level.TRACE level.
    Entry point for fluent-logging for Level.WARN level.
    void
    Log a message at the DEBUG level.
    void
    debug(Component format, @Nullable Object arg)
    Log a message at the DEBUG level according to the specified format and argument.
    void
    debug(Component format, @Nullable Object... arguments)
    Log a message at the DEBUG level according to the specified format and arguments.
    void
    debug(Component format, @Nullable Object arg1, @Nullable Object arg2)
    Log a message at the DEBUG level according to the specified format and arguments.
    void
    debug(Component msg, @Nullable Throwable t)
    Log an exception (throwable) at the DEBUG level with an accompanying message.
    void
    debug(org.slf4j.Marker marker, Component msg)
    Log a message with the specific Marker at the DEBUG level.
    void
    debug(org.slf4j.Marker marker, Component format, @Nullable Object arg)
    This method is similar to debug(Component, Object) method except that the marker data is also taken into consideration.
    void
    debug(org.slf4j.Marker marker, Component format, @Nullable Object... arguments)
    This method is similar to debug(Component, Object...) method except that the marker data is also taken into consideration.
    void
    debug(org.slf4j.Marker marker, Component format, @Nullable Object arg1, @Nullable Object arg2)
    This method is similar to debug(Component, Object, Object) method except that the marker data is also taken into consideration.
    void
    debug(org.slf4j.Marker marker, Component msg, @Nullable Throwable t)
    This method is similar to debug(Component, Throwable) method except that the marker data is also taken into consideration.
    void
    Log a message at the ERROR level.
    void
    error(Component format, @Nullable Object arg)
    Log a message at the ERROR level according to the specified format and argument.
    void
    error(Component format, @Nullable Object... arguments)
    Log a message at the ERROR level according to the specified format and arguments.
    void
    error(Component format, @Nullable Object arg1, @Nullable Object arg2)
    Log a message at the ERROR level according to the specified format and arguments.
    void
    Log an exception (throwable) at the ERROR level with an accompanying message.
    void
    error(org.slf4j.Marker marker, Component msg)
    Log a message with the specific final Marker at the ERROR level.
    void
    error(org.slf4j.Marker marker, Component format, @Nullable Object arg)
    This method is similar to error(Component, Object) method except that the marker data is also taken into consideration.
    void
    error(org.slf4j.Marker marker, Component format, @Nullable Object... arguments)
    This method is similar to error(Component, Object...) method except that the marker data is also taken into consideration.
    void
    error(org.slf4j.Marker marker, Component format, @Nullable Object arg1, @Nullable Object arg2)
    This method is similar to error(Component, Object, Object) method except that the marker data is also taken into consideration.
    void
    error(org.slf4j.Marker marker, Component msg, Throwable t)
    This method is similar to error(Component, Throwable) method except that the marker data is also taken into consideration.
    void
    Log a message at the INFO level.
    void
    info(Component format, @Nullable Object arg)
    Log a message at the INFO level according to the specified format and argument.
    void
    info(Component format, @Nullable Object... arguments)
    Log a message at the INFO level according to the specified format and arguments.
    void
    info(Component format, @Nullable Object arg1, @Nullable Object arg2)
    Log a message at the INFO level according to the specified format and arguments.
    void
    info(Component msg, @Nullable Throwable t)
    Log an exception (throwable) at the INFO level with an accompanying message.
    void
    info(org.slf4j.Marker marker, Component msg)
    Log a message with the specific Marker at the INFO level.
    void
    info(org.slf4j.Marker marker, Component format, @Nullable Object arg)
    This method is similar to info(Component, Object) method except that the marker data is also taken into consideration.
    void
    info(org.slf4j.Marker marker, Component format, @Nullable Object... arguments)
    This method is similar to info(Component, Object...) method except that the marker data is also taken into consideration.
    void
    info(org.slf4j.Marker marker, Component format, @Nullable Object arg1, @Nullable Object arg2)
    This method is similar to info(Component, Object, Object) method except that the marker data is also taken into consideration.
    void
    info(org.slf4j.Marker marker, Component msg, Throwable t)
    This method is similar to info(Component, Throwable) method except that the marker data is also taken into consideration.
    Get a logger instance with the name of the calling class.
    logger(Class<?> clazz)
    Get a logger instance with the binary name of the provided class.
    logger(String name)
    Get a logger instance with the provided name.
    makeLoggingEventBuilder(org.slf4j.event.Level level)
    Unconditionally create a new logging event builder.
    void
    Log a message at the TRACE level.
    void
    trace(Component format, @Nullable Object arg)
    Log a message at the TRACE level according to the specified format and argument.
    void
    trace(Component format, @Nullable Object... arguments)
    Log a message at the TRACE level according to the specified format and arguments.
    void
    trace(Component format, @Nullable Object arg1, @Nullable Object arg2)
    Log a message at the TRACE level according to the specified format and arguments.
    void
    trace(Component msg, @Nullable Throwable t)
    Log an exception (throwable) at the TRACE level with an accompanying message.
    void
    trace(org.slf4j.Marker marker, Component msg)
    Log a message with the specific Marker at the TRACE level.
    void
    trace(org.slf4j.Marker marker, Component format, @Nullable Object arg)
    This method is similar to trace(Component, Object) method except that the marker data is also taken into consideration.
    void
    trace(org.slf4j.Marker marker, Component format, @Nullable Object... argArray)
    This method is similar to trace(Component, Object...) method except that the marker data is also taken into consideration.
    void
    trace(org.slf4j.Marker marker, Component format, @Nullable Object arg1, @Nullable Object arg2)
    This method is similar to trace(Component, Object, Object) method except that the marker data is also taken into consideration.
    void
    trace(org.slf4j.Marker marker, Component msg, @Nullable Throwable t)
    This method is similar to trace(Component, Throwable) method except that the marker data is also taken into consideration.
    void
    Log a message at the WARN level.
    void
    warn(Component format, @Nullable Object arg)
    Log a message at the WARN level according to the specified format and argument.
    void
    warn(Component format, @Nullable Object... arguments)
    Log a message at the WARN level according to the specified format and arguments.
    void
    warn(Component format, @Nullable Object arg1, @Nullable Object arg2)
    Log a message at the WARN level according to the specified format and arguments.
    void
    Log an exception (throwable) at the WARN level with an accompanying message.
    void
    warn(org.slf4j.Marker marker, Component msg)
    Log a message with the specific final Marker at the WARN level.
    void
    warn(org.slf4j.Marker marker, Component format, @Nullable Object arg)
    This method is similar to warn(Component, Object) method except that the marker data is also taken into consideration.
    void
    warn(org.slf4j.Marker marker, Component format, @Nullable Object... arguments)
    This method is similar to warn(Component, Object...) method except that the marker data is also taken into consideration.
    void
    warn(org.slf4j.Marker marker, Component format, @Nullable Object arg1, @Nullable Object arg2)
    This method is similar to warn(Component, Object, Object) method except that the marker data is also taken into consideration.
    void
    warn(org.slf4j.Marker marker, Component msg, Throwable t)
    This method is similar to warn(Component, Throwable) method except that the marker data is also taken into consideration.

    Methods inherited from interface org.slf4j.Logger

    debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, getName, info, info, info, info, info, info, info, info, info, info, isDebugEnabled, isDebugEnabled, isEnabledForLevel, isErrorEnabled, isErrorEnabled, isInfoEnabled, isInfoEnabled, isTraceEnabled, isTraceEnabled, isWarnEnabled, isWarnEnabled, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn
  • Method Details

    • logger

      static ComponentLogger logger()
      Get a logger instance with the name of the calling class.

      This method is caller-sensitive and should not be wrapped.

      This logger is produced by implementations of the ComponentLoggerProvider.

      Returns:
      a logger with the name of the calling class
      Since:
      4.11.0
    • logger

      static ComponentLogger logger(String name)
      Get a logger instance with the provided name.

      This logger is produced by implementations of the ComponentLoggerProvider.

      Parameters:
      name - the name of the logger
      Returns:
      a logger with the provided name
      Since:
      4.11.0
    • logger

      static ComponentLogger logger(Class<?> clazz)
      Get a logger instance with the binary name of the provided class.

      This logger is produced by implementations of the ComponentLoggerProvider.

      Parameters:
      clazz - the class to use when naming the logger
      Returns:
      a logger with the name of the calling class
      Since:
      4.11.0
    • trace

      void trace(Component msg)
      Log a message at the TRACE level.
      Parameters:
      msg - the message string to be logged
      Since:
      4.11.0
    • trace

      void trace(Component format, @Nullable Object arg)
      Log a message at the TRACE level according to the specified format and argument.

      This form avoids superfluous object creation when the logger is disabled for the TRACE level.

      Parameters:
      format - the format string
      arg - the argument
      Since:
      4.11.0
    • trace

      void trace(Component format, @Nullable Object arg1, @Nullable Object arg2)
      Log a message at the TRACE level according to the specified format and arguments.

      This form avoids superfluous object creation when the logger is disabled for the TRACE level.

      Parameters:
      format - the format string
      arg1 - the first argument
      arg2 - the second argument
      Since:
      4.11.0
    • trace

      void trace(Component format, @Nullable Object... arguments)
      Log a message at the TRACE level according to the specified format and arguments.

      This form avoids superfluous string concatenation when the logger is disabled for the TRACE level. However, this variant incurs the hidden (and relatively small) cost of creating an Object[] before invoking the method, even if this logger is disabled for TRACE. The variants taking one and two arguments exist solely in order to avoid this hidden cost.

      Parameters:
      format - the format string
      arguments - a list of 3 or more arguments
      Since:
      4.11.0
    • trace

      void trace(Component msg, @Nullable Throwable t)
      Log an exception (throwable) at the TRACE level with an accompanying message.
      Parameters:
      msg - the message accompanying the exception
      t - the exception (throwable) to log
      Since:
      4.11.0
    • trace

      void trace(org.slf4j.Marker marker, Component msg)
      Log a message with the specific Marker at the TRACE level.
      Parameters:
      marker - the marker data specific to this log statement
      msg - the message string to be logged
      Since:
      4.11.0
    • trace

      void trace(org.slf4j.Marker marker, Component format, @Nullable Object arg)
      This method is similar to trace(Component, Object) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      format - the format string
      arg - the argument
      Since:
      4.11.0
    • trace

      void trace(org.slf4j.Marker marker, Component format, @Nullable Object arg1, @Nullable Object arg2)
      This method is similar to trace(Component, Object, Object) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      format - the format string
      arg1 - the first argument
      arg2 - the second argument
      Since:
      4.11.0
    • trace

      void trace(org.slf4j.Marker marker, Component format, @Nullable Object... argArray)
      This method is similar to trace(Component, Object...) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      format - the format string
      argArray - an array of arguments
      Since:
      4.11.0
    • trace

      void trace(org.slf4j.Marker marker, Component msg, @Nullable Throwable t)
      This method is similar to trace(Component, Throwable) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      msg - the message accompanying the exception
      t - the exception (throwable) to log
      Since:
      4.11.0
    • atTrace

      default ComponentLoggingEventBuilder atTrace()
      Entry point for fluent-logging for Level.TRACE level.

      Warning: This method is only available when running with SLF4J 2.0+

      Specified by:
      atTrace in interface org.slf4j.Logger
      Returns:
      LoggingEventBuilder instance as appropriate for level TRACE
      Since:
      4.12.0
    • debug

      void debug(Component msg)
      Log a message at the DEBUG level.
      Parameters:
      msg - the message string to be logged
      Since:
      4.11.0
    • debug

      void debug(Component format, @Nullable Object arg)
      Log a message at the DEBUG level according to the specified format and argument.

      This form avoids superfluous object creation when the logger is disabled for the DEBUG level.

      Parameters:
      format - the format string
      arg - the argument
      Since:
      4.11.0
    • debug

      void debug(Component format, @Nullable Object arg1, @Nullable Object arg2)
      Log a message at the DEBUG level according to the specified format and arguments.

      This form avoids superfluous object creation when the logger is disabled for the DEBUG level.

      Parameters:
      format - the format string
      arg1 - the first argument
      arg2 - the second argument
      Since:
      4.11.0
    • debug

      void debug(Component format, @Nullable Object... arguments)
      Log a message at the DEBUG level according to the specified format and arguments.

      This form avoids superfluous string concatenation when the logger is disabled for the DEBUG level. However, this variant incurs the hidden (and relatively small) cost of creating an Object[] before invoking the method, even if this logger is disabled for DEBUG. The variants taking one and two arguments exist solely in order to avoid this hidden cost.

      Parameters:
      format - the format string
      arguments - a list of 3 or more arguments
      Since:
      4.11.0
    • debug

      void debug(Component msg, @Nullable Throwable t)
      Log an exception (throwable) at the DEBUG level with an accompanying message.
      Parameters:
      msg - the message accompanying the exception
      t - the exception (throwable) to log
      Since:
      4.11.0
    • debug

      void debug(org.slf4j.Marker marker, Component msg)
      Log a message with the specific Marker at the DEBUG level.
      Parameters:
      marker - the marker data specific to this log statement
      msg - the message string to be logged
      Since:
      4.11.0
    • debug

      void debug(org.slf4j.Marker marker, Component format, @Nullable Object arg)
      This method is similar to debug(Component, Object) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      format - the format string
      arg - the argument
      Since:
      4.11.0
    • debug

      void debug(org.slf4j.Marker marker, Component format, @Nullable Object arg1, @Nullable Object arg2)
      This method is similar to debug(Component, Object, Object) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      format - the format string
      arg1 - the first argument
      arg2 - the second argument
      Since:
      4.11.0
    • debug

      void debug(org.slf4j.Marker marker, Component format, @Nullable Object... arguments)
      This method is similar to debug(Component, Object...) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      format - the format string
      arguments - a list of 3 or more arguments
      Since:
      4.11.0
    • debug

      void debug(org.slf4j.Marker marker, Component msg, @Nullable Throwable t)
      This method is similar to debug(Component, Throwable) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      msg - the message accompanying the exception
      t - the exception (throwable) to log
      Since:
      4.11.0
    • atDebug

      default ComponentLoggingEventBuilder atDebug()
      Entry point for fluent-logging for Level.DEBUG level.

      Warning: This method is only available when running with SLF4J 2.0+

      Specified by:
      atDebug in interface org.slf4j.Logger
      Returns:
      LoggingEventBuilder instance as appropriate for level DEBUG
      Since:
      4.12.0
    • info

      void info(Component msg)
      Log a message at the INFO level.
      Parameters:
      msg - the message string to be logged
      Since:
      4.11.0
    • info

      void info(Component format, @Nullable Object arg)
      Log a message at the INFO level according to the specified format and argument.

      This form avoids superfluous object creation when the logger is disabled for the INFO level.

      Parameters:
      format - the format string
      arg - the argument
      Since:
      4.11.0
    • info

      void info(Component format, @Nullable Object arg1, @Nullable Object arg2)
      Log a message at the INFO level according to the specified format and arguments.

      This form avoids superfluous object creation when the logger is disabled for the INFO level.

      Parameters:
      format - the format string
      arg1 - the first argument
      arg2 - the second argument
      Since:
      4.11.0
    • info

      void info(Component format, @Nullable Object... arguments)
      Log a message at the INFO level according to the specified format and arguments.

      This form avoids superfluous string concatenation when the logger is disabled for the INFO level. However, this variant incurs the hidden (and relatively small) cost of creating an Object[] before invoking the method, even if this logger is disabled for INFO. The variants taking one and two arguments exist solely in order to avoid this hidden cost.

      Parameters:
      format - the format string
      arguments - a list of 3 or more arguments
      Since:
      4.11.0
    • info

      void info(Component msg, @Nullable Throwable t)
      Log an exception (throwable) at the INFO level with an accompanying message.
      Parameters:
      msg - the message accompanying the exception
      t - the exception (throwable) to log
      Since:
      4.11.0
    • info

      void info(org.slf4j.Marker marker, Component msg)
      Log a message with the specific Marker at the INFO level.
      Parameters:
      marker - The marker specific to this log statement
      msg - the message string to be logged
      Since:
      4.11.0
    • info

      void info(org.slf4j.Marker marker, Component format, @Nullable Object arg)
      This method is similar to info(Component, Object) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      format - the format string
      arg - the argument
      Since:
      4.11.0
    • info

      void info(org.slf4j.Marker marker, Component format, @Nullable Object arg1, @Nullable Object arg2)
      This method is similar to info(Component, Object, Object) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      format - the format string
      arg1 - the first argument
      arg2 - the second argument
      Since:
      4.11.0
    • info

      void info(org.slf4j.Marker marker, Component format, @Nullable Object... arguments)
      This method is similar to info(Component, Object...) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      format - the format string
      arguments - a list of 3 or more arguments
      Since:
      4.11.0
    • info

      void info(org.slf4j.Marker marker, Component msg, Throwable t)
      This method is similar to info(Component, Throwable) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data for this log statement
      msg - the message accompanying the exception
      t - the exception (throwable) to log
      Since:
      4.11.0
    • atInfo

      default ComponentLoggingEventBuilder atInfo()
      Entry point for fluent-logging for Level.INFO level.

      Warning: This method is only available when running with SLF4J 2.0+

      Specified by:
      atInfo in interface org.slf4j.Logger
      Returns:
      LoggingEventBuilder instance as appropriate for level INFO
      Since:
      4.12.0
    • warn

      void warn(Component msg)
      Log a message at the WARN level.
      Parameters:
      msg - the message string to be logged
      Since:
      4.11.0
    • warn

      void warn(Component format, @Nullable Object arg)
      Log a message at the WARN level according to the specified format and argument.

      This form avoids superfluous object creation when the logger is disabled for the WARN level.

      Parameters:
      format - the format string
      arg - the argument
      Since:
      4.11.0
    • warn

      void warn(Component format, @Nullable Object... arguments)
      Log a message at the WARN level according to the specified format and arguments.

      This form avoids superfluous string concatenation when the logger is disabled for the WARN level. However, this variant incurs the hidden (and relatively small) cost of creating an Object[] before invoking the method, even if this logger is disabled for WARN. The variants taking one and two arguments exist solely in order to avoid this hidden cost.

      Parameters:
      format - the format string
      arguments - a list of 3 or more arguments
      Since:
      4.11.0
    • warn

      void warn(Component format, @Nullable Object arg1, @Nullable Object arg2)
      Log a message at the WARN level according to the specified format and arguments.

      This form avoids superfluous object creation when the logger is disabled for the WARN level.

      Parameters:
      format - the format string
      arg1 - the first argument
      arg2 - the second argument
      Since:
      4.11.0
    • warn

      void warn(Component msg, Throwable t)
      Log an exception (throwable) at the WARN level with an accompanying message.
      Parameters:
      msg - the message accompanying the exception
      t - the exception (throwable) to log
      Since:
      4.11.0
    • warn

      void warn(org.slf4j.Marker marker, Component msg)
      Log a message with the specific final Marker at the WARN level.
      Parameters:
      marker - The marker specific to this log statement
      msg - the message string to be logged
      Since:
      4.11.0
    • warn

      void warn(org.slf4j.Marker marker, Component format, @Nullable Object arg)
      This method is similar to warn(Component, Object) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      format - the format string
      arg - the argument
      Since:
      4.11.0
    • warn

      void warn(org.slf4j.Marker marker, Component format, @Nullable Object arg1, @Nullable Object arg2)
      This method is similar to warn(Component, Object, Object) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      format - the format string
      arg1 - the first argument
      arg2 - the second argument
      Since:
      4.11.0
    • warn

      void warn(org.slf4j.Marker marker, Component format, @Nullable Object... arguments)
      This method is similar to warn(Component, Object...) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      format - the format string
      arguments - a list of 3 or more arguments
      Since:
      4.11.0
    • warn

      void warn(org.slf4j.Marker marker, Component msg, Throwable t)
      This method is similar to warn(Component, Throwable) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data for this log statement
      msg - the message accompanying the exception
      t - the exception (throwable) to log
      Since:
      4.11.0
    • atWarn

      default ComponentLoggingEventBuilder atWarn()
      Entry point for fluent-logging for Level.WARN level.

      Warning: This method is only available when running with SLF4J 2.0+

      Specified by:
      atWarn in interface org.slf4j.Logger
      Returns:
      LoggingEventBuilder instance as appropriate for level WARN
      Since:
      4.12.0
    • error

      void error(Component msg)
      Log a message at the ERROR level.
      Parameters:
      msg - the message string to be logged
      Since:
      4.11.0
    • error

      void error(Component format, @Nullable Object arg)
      Log a message at the ERROR level according to the specified format and argument.

      This form avoids superfluous object creation when the logger is disabled for the ERROR level.

      Parameters:
      format - the format string
      arg - the argument
      Since:
      4.11.0
    • error

      void error(Component format, @Nullable Object arg1, @Nullable Object arg2)
      Log a message at the ERROR level according to the specified format and arguments.

      This form avoids superfluous object creation when the logger is disabled for the ERROR level.

      Parameters:
      format - the format string
      arg1 - the first argument
      arg2 - the second argument
      Since:
      4.11.0
    • error

      void error(Component format, @Nullable Object... arguments)
      Log a message at the ERROR level according to the specified format and arguments.

      This form avoids superfluous string concatenation when the logger is disabled for the ERROR level. However, this variant incurs the hidden (and relatively small) cost of creating an Object[] before invoking the method, even if this logger is disabled for ERROR. The variants taking one and two arguments exist solely in order to avoid this hidden cost.

      Parameters:
      format - the format string
      arguments - a list of 3 or more arguments
      Since:
      4.11.0
    • error

      void error(Component msg, Throwable t)
      Log an exception (throwable) at the ERROR level with an accompanying message.
      Parameters:
      msg - the message accompanying the exception
      t - the exception (throwable) to log
      Since:
      4.11.0
    • error

      void error(org.slf4j.Marker marker, Component msg)
      Log a message with the specific final Marker at the ERROR level.
      Parameters:
      marker - The marker specific to this log statement
      msg - the message string to be logged
      Since:
      4.11.0
    • error

      void error(org.slf4j.Marker marker, Component format, @Nullable Object arg)
      This method is similar to error(Component, Object) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      format - the format string
      arg - the argument
      Since:
      4.11.0
    • error

      void error(org.slf4j.Marker marker, Component format, @Nullable Object arg1, @Nullable Object arg2)
      This method is similar to error(Component, Object, Object) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      format - the format string
      arg1 - the first argument
      arg2 - the second argument
      Since:
      4.11.0
    • error

      void error(org.slf4j.Marker marker, Component format, @Nullable Object... arguments)
      This method is similar to error(Component, Object...) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      format - the format string
      arguments - a list of 3 or more arguments
      Since:
      4.11.0
    • error

      void error(org.slf4j.Marker marker, Component msg, Throwable t)
      This method is similar to error(Component, Throwable) method except that the marker data is also taken into consideration.
      Parameters:
      marker - the marker data specific to this log statement
      msg - the message accompanying the exception
      t - the exception (throwable) to log
      Since:
      4.11.0
    • atError

      default ComponentLoggingEventBuilder atError()
      Entry point for fluent-logging for Level.ERROR level.

      Warning: This method is only available when running with SLF4J 2.0+

      Specified by:
      atError in interface org.slf4j.Logger
      Returns:
      LoggingEventBuilder instance as appropriate for level ERROR
      Since:
      5.0.0
    • makeLoggingEventBuilder

      ComponentLoggingEventBuilder makeLoggingEventBuilder(org.slf4j.event.Level level)
      Unconditionally create a new logging event builder.

      Warning: This method is only available when running with SLF4J 2.0+

      Specified by:
      makeLoggingEventBuilder in interface org.slf4j.Logger
      Parameters:
      level - desired level for the event builder
      Returns:
      a new event builder
      Since:
      5.0.0
    • atLevel

      ComponentLoggingEventBuilder atLevel(org.slf4j.event.Level level)
      Create the appropriate builder for the supplied level.

      This may be a no-op if the passed level is disabled.

      Warning: This method is only available when running with SLF4J 2.0+

      Specified by:
      atLevel in interface org.slf4j.Logger
      Parameters:
      level - desired level for the event builder
      Returns:
      a new event builder
      Since:
      5.0.0