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

      All Methods Static Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void debug​(@NotNull Component msg)
      Log a message at the DEBUG level.
      void debug​(@NotNull Component format, @Nullable java.lang.Object arg)
      Log a message at the DEBUG level according to the specified format and argument.
      void debug​(@NotNull Component format, @Nullable java.lang.Object @NotNull ... arguments)
      Log a message at the DEBUG level according to the specified format and arguments.
      void debug​(@NotNull Component format, @Nullable java.lang.Object arg1, @Nullable java.lang.Object arg2)
      Log a message at the DEBUG level according to the specified format and arguments.
      void debug​(@NotNull Component msg, @Nullable java.lang.Throwable t)
      Log an exception (throwable) at the DEBUG level with an accompanying message.
      void debug​(@NotNull org.slf4j.Marker marker, @NotNull Component msg)
      Log a message with the specific Marker at the DEBUG level.
      void debug​(@NotNull org.slf4j.Marker marker, @NotNull Component format, @Nullable java.lang.Object arg)
      This method is similar to debug(Component, Object) method except that the marker data is also taken into consideration.
      void debug​(@NotNull org.slf4j.Marker marker, @NotNull Component format, @Nullable java.lang.Object @NotNull ... arguments)
      This method is similar to debug(Component, Object...) method except that the marker data is also taken into consideration.
      void debug​(@NotNull org.slf4j.Marker marker, @NotNull Component format, @Nullable java.lang.Object arg1, @Nullable java.lang.Object arg2)
      This method is similar to debug(Component, Object, Object) method except that the marker data is also taken into consideration.
      void debug​(@NotNull org.slf4j.Marker marker, @NotNull Component msg, @Nullable java.lang.Throwable t)
      This method is similar to debug(Component, Throwable) method except that the marker data is also taken into consideration.
      void error​(@NotNull Component msg)
      Log a message at the ERROR level.
      void error​(@NotNull Component msg, @NotNull java.lang.Throwable t)
      Log an exception (throwable) at the ERROR level with an accompanying message.
      void error​(@NotNull Component format, @Nullable java.lang.Object arg)
      Log a message at the ERROR level according to the specified format and argument.
      void error​(@NotNull Component format, @Nullable java.lang.Object @NotNull ... arguments)
      Log a message at the ERROR level according to the specified format and arguments.
      void error​(@NotNull Component format, @Nullable java.lang.Object arg1, @Nullable java.lang.Object arg2)
      Log a message at the ERROR level according to the specified format and arguments.
      void error​(@NotNull org.slf4j.Marker marker, @NotNull Component msg)
      Log a message with the specific final @NotNull Marker at the ERROR level.
      void error​(@NotNull org.slf4j.Marker marker, @NotNull Component msg, @NotNull java.lang.Throwable t)
      This method is similar to error(Component, Throwable) method except that the marker data is also taken into consideration.
      void error​(@NotNull org.slf4j.Marker marker, @NotNull Component format, @Nullable java.lang.Object arg)
      This method is similar to error(Component, Object) method except that the marker data is also taken into consideration.
      void error​(@NotNull org.slf4j.Marker marker, @NotNull Component format, @Nullable java.lang.Object @NotNull ... arguments)
      This method is similar to error(Component, Object...) method except that the marker data is also taken into consideration.
      void error​(@NotNull org.slf4j.Marker marker, @NotNull Component format, @Nullable java.lang.Object arg1, @Nullable java.lang.Object arg2)
      This method is similar to error(Component, Object, Object) method except that the marker data is also taken into consideration.
      void info​(@NotNull Component msg)
      Log a message at the INFO level.
      void info​(@NotNull Component format, @Nullable java.lang.Object arg)
      Log a message at the INFO level according to the specified format and argument.
      void info​(@NotNull Component format, @Nullable java.lang.Object @NotNull ... arguments)
      Log a message at the INFO level according to the specified format and arguments.
      void info​(@NotNull Component format, @Nullable java.lang.Object arg1, @Nullable java.lang.Object arg2)
      Log a message at the INFO level according to the specified format and arguments.
      void info​(@NotNull Component msg, @Nullable java.lang.Throwable t)
      Log an exception (throwable) at the INFO level with an accompanying message.
      void info​(@NotNull org.slf4j.Marker marker, @NotNull Component msg)
      Log a message with the specific Marker at the INFO level.
      void info​(@NotNull org.slf4j.Marker marker, @NotNull Component msg, @NotNull java.lang.Throwable t)
      This method is similar to info(Component, Throwable) method except that the marker data is also taken into consideration.
      void info​(@NotNull org.slf4j.Marker marker, @NotNull Component format, @Nullable java.lang.Object arg)
      This method is similar to info(Component, Object) method except that the marker data is also taken into consideration.
      void info​(@NotNull org.slf4j.Marker marker, @NotNull Component format, @Nullable java.lang.Object @NotNull ... arguments)
      This method is similar to info(Component, Object...) method except that the marker data is also taken into consideration.
      void info​(@NotNull org.slf4j.Marker marker, @NotNull Component format, @Nullable java.lang.Object arg1, @Nullable java.lang.Object arg2)
      This method is similar to info(Component, Object, Object) method except that the marker data is also taken into consideration.
      static @NotNull ComponentLogger logger()
      Get a logger instance with the name of the calling class.
      static @NotNull ComponentLogger logger​(@NotNull java.lang.Class<?> clazz)
      Get a logger instance with the binary name of the provided class.
      static @NotNull ComponentLogger logger​(@NotNull java.lang.String name)
      Get a logger instance with the provided name.
      void trace​(@NotNull Component msg)
      Log a message at the TRACE level.
      void trace​(@NotNull Component format, @Nullable java.lang.Object arg)
      Log a message at the TRACE level according to the specified format and argument.
      void trace​(@NotNull Component format, @Nullable java.lang.Object @NotNull ... arguments)
      Log a message at the TRACE level according to the specified format and arguments.
      void trace​(@NotNull Component format, @Nullable java.lang.Object arg1, @Nullable java.lang.Object arg2)
      Log a message at the TRACE level according to the specified format and arguments.
      void trace​(@NotNull Component msg, @Nullable java.lang.Throwable t)
      Log an exception (throwable) at the TRACE level with an accompanying message.
      void trace​(@NotNull org.slf4j.Marker marker, @NotNull Component msg)
      Log a message with the specific Marker at the TRACE level.
      void trace​(@NotNull org.slf4j.Marker marker, @NotNull Component format, @Nullable java.lang.Object arg)
      This method is similar to trace(Component, Object) method except that the marker data is also taken into consideration.
      void trace​(@NotNull org.slf4j.Marker marker, @NotNull Component format, @Nullable java.lang.Object @NotNull ... argArray)
      This method is similar to trace(Component, Object...) method except that the marker data is also taken into consideration.
      void trace​(@NotNull org.slf4j.Marker marker, @NotNull Component format, @Nullable java.lang.Object arg1, @Nullable java.lang.Object arg2)
      This method is similar to trace(Component, Object, Object) method except that the marker data is also taken into consideration.
      void trace​(@NotNull org.slf4j.Marker marker, @NotNull Component msg, @Nullable java.lang.Throwable t)
      This method is similar to trace(Component, Throwable) method except that the marker data is also taken into consideration.
      void warn​(@NotNull Component msg)
      Log a message at the WARN level.
      void warn​(@NotNull Component msg, @NotNull java.lang.Throwable t)
      Log an exception (throwable) at the WARN level with an accompanying message.
      void warn​(@NotNull Component format, @Nullable java.lang.Object arg)
      Log a message at the WARN level according to the specified format and argument.
      void warn​(@NotNull Component format, @Nullable java.lang.Object @NotNull ... arguments)
      Log a message at the WARN level according to the specified format and arguments.
      void warn​(@NotNull Component format, @Nullable java.lang.Object arg1, @Nullable java.lang.Object arg2)
      Log a message at the WARN level according to the specified format and arguments.
      void warn​(@NotNull org.slf4j.Marker marker, @NotNull Component msg)
      Log a message with the specific final @NotNull Marker at the WARN level.
      void warn​(@NotNull org.slf4j.Marker marker, @NotNull Component msg, @NotNull java.lang.Throwable t)
      This method is similar to warn(Component, Throwable) method except that the marker data is also taken into consideration.
      void warn​(@NotNull org.slf4j.Marker marker, @NotNull Component format, @Nullable java.lang.Object arg)
      This method is similar to warn(Component, Object) method except that the marker data is also taken into consideration.
      void warn​(@NotNull org.slf4j.Marker marker, @NotNull Component format, @Nullable java.lang.Object @NotNull ... arguments)
      This method is similar to warn(Component, Object...) method except that the marker data is also taken into consideration.
      void warn​(@NotNull org.slf4j.Marker marker, @NotNull Component format, @Nullable java.lang.Object arg1, @Nullable java.lang.Object arg2)
      This method is similar to warn(Component, Object, Object) method except that the marker data is also taken into consideration.
      • Methods inherited from interface org.slf4j.Logger

        atDebug, atError, atInfo, atLevel, atTrace, atWarn, 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, makeLoggingEventBuilder, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn
    • Method Detail

      • logger

        @NotNull
        static @NotNull 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

        @NotNull
        static @NotNull ComponentLogger logger​(@NotNull
                                               @NotNull java.lang.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

        @NotNull
        static @NotNull ComponentLogger logger​(@NotNull
                                               @NotNull java.lang.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​(@NotNull
                   @NotNull Component msg)
        Log a message at the TRACE level.
        Parameters:
        msg - the message string to be logged
        Since:
        4.11.0
      • trace

        void trace​(@NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.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​(@NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.Object arg1,
                   @Nullable
                   @Nullable java.lang.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​(@NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.Object @NotNull ... 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​(@NotNull
                   @NotNull Component msg,
                   @Nullable
                   @Nullable java.lang.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​(@NotNull
                   @NotNull org.slf4j.Marker marker,
                   @NotNull
                   @NotNull 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​(@NotNull
                   @NotNull org.slf4j.Marker marker,
                   @NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.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​(@NotNull
                   @NotNull org.slf4j.Marker marker,
                   @NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.Object arg1,
                   @Nullable
                   @Nullable java.lang.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​(@NotNull
                   @NotNull org.slf4j.Marker marker,
                   @NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.Object @NotNull ... 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​(@NotNull
                   @NotNull org.slf4j.Marker marker,
                   @NotNull
                   @NotNull Component msg,
                   @Nullable
                   @Nullable java.lang.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
      • debug

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

        void debug​(@NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.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​(@NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.Object arg1,
                   @Nullable
                   @Nullable java.lang.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​(@NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.Object @NotNull ... 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​(@NotNull
                   @NotNull Component msg,
                   @Nullable
                   @Nullable java.lang.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​(@NotNull
                   @NotNull org.slf4j.Marker marker,
                   @NotNull
                   @NotNull 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​(@NotNull
                   @NotNull org.slf4j.Marker marker,
                   @NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.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​(@NotNull
                   @NotNull org.slf4j.Marker marker,
                   @NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.Object arg1,
                   @Nullable
                   @Nullable java.lang.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​(@NotNull
                   @NotNull org.slf4j.Marker marker,
                   @NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.Object @NotNull ... 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​(@NotNull
                   @NotNull org.slf4j.Marker marker,
                   @NotNull
                   @NotNull Component msg,
                   @Nullable
                   @Nullable java.lang.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
      • info

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

        void info​(@NotNull
                  @NotNull Component format,
                  @Nullable
                  @Nullable java.lang.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​(@NotNull
                  @NotNull Component format,
                  @Nullable
                  @Nullable java.lang.Object arg1,
                  @Nullable
                  @Nullable java.lang.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​(@NotNull
                  @NotNull Component format,
                  @Nullable
                  @Nullable java.lang.Object @NotNull ... 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​(@NotNull
                  @NotNull Component msg,
                  @Nullable
                  @Nullable java.lang.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​(@NotNull
                  @NotNull org.slf4j.Marker marker,
                  @NotNull
                  @NotNull 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​(@NotNull
                  @NotNull org.slf4j.Marker marker,
                  @NotNull
                  @NotNull Component format,
                  @Nullable
                  @Nullable java.lang.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​(@NotNull
                  @NotNull org.slf4j.Marker marker,
                  @NotNull
                  @NotNull Component format,
                  @Nullable
                  @Nullable java.lang.Object arg1,
                  @Nullable
                  @Nullable java.lang.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​(@NotNull
                  @NotNull org.slf4j.Marker marker,
                  @NotNull
                  @NotNull Component format,
                  @Nullable
                  @Nullable java.lang.Object @NotNull ... 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​(@NotNull
                  @NotNull org.slf4j.Marker marker,
                  @NotNull
                  @NotNull Component msg,
                  @NotNull
                  @NotNull java.lang.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
      • warn

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

        void warn​(@NotNull
                  @NotNull Component format,
                  @Nullable
                  @Nullable java.lang.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​(@NotNull
                  @NotNull Component format,
                  @Nullable
                  @Nullable java.lang.Object @NotNull ... 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​(@NotNull
                  @NotNull Component format,
                  @Nullable
                  @Nullable java.lang.Object arg1,
                  @Nullable
                  @Nullable java.lang.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​(@NotNull
                  @NotNull Component msg,
                  @NotNull
                  @NotNull java.lang.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​(@NotNull
                  @NotNull org.slf4j.Marker marker,
                  @NotNull
                  @NotNull Component msg)
        Log a message with the specific final @NotNull 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​(@NotNull
                  @NotNull org.slf4j.Marker marker,
                  @NotNull
                  @NotNull Component format,
                  @Nullable
                  @Nullable java.lang.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​(@NotNull
                  @NotNull org.slf4j.Marker marker,
                  @NotNull
                  @NotNull Component format,
                  @Nullable
                  @Nullable java.lang.Object arg1,
                  @Nullable
                  @Nullable java.lang.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​(@NotNull
                  @NotNull org.slf4j.Marker marker,
                  @NotNull
                  @NotNull Component format,
                  @Nullable
                  @Nullable java.lang.Object @NotNull ... 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​(@NotNull
                  @NotNull org.slf4j.Marker marker,
                  @NotNull
                  @NotNull Component msg,
                  @NotNull
                  @NotNull java.lang.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
      • error

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

        void error​(@NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.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​(@NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.Object arg1,
                   @Nullable
                   @Nullable java.lang.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​(@NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.Object @NotNull ... 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​(@NotNull
                   @NotNull Component msg,
                   @NotNull
                   @NotNull java.lang.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​(@NotNull
                   @NotNull org.slf4j.Marker marker,
                   @NotNull
                   @NotNull Component msg)
        Log a message with the specific final @NotNull 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​(@NotNull
                   @NotNull org.slf4j.Marker marker,
                   @NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.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​(@NotNull
                   @NotNull org.slf4j.Marker marker,
                   @NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.Object arg1,
                   @Nullable
                   @Nullable java.lang.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​(@NotNull
                   @NotNull org.slf4j.Marker marker,
                   @NotNull
                   @NotNull Component format,
                   @Nullable
                   @Nullable java.lang.Object @NotNull ... 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​(@NotNull
                   @NotNull org.slf4j.Marker marker,
                   @NotNull
                   @NotNull Component msg,
                   @NotNull
                   @NotNull java.lang.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