warn
Lazy add a log message if isWarnEnabled is true
Lazy add a log message with throwable payload if isWarnEnabled is true
Log a message at the WARN level.
Parameters
the message string to be logged
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
the format string
the argument
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 .warn and .warn arguments exist solely in order to avoid this hidden cost.
Parameters
the format string
a list of 3 or more arguments
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
the format string
the first argument
the second argument
Log an exception (throwable) at the WARN level with an accompanying message.
Parameters
the message accompanying the exception
the exception (throwable) to log
Log a message with the specific Marker at the WARN level.
Parameters
The marker specific to this log statement
the message string to be logged
This method is similar to .warn method except that the marker data is also taken into consideration.
Parameters
the marker data specific to this log statement
the format string
the argument
This method is similar to .warn method except that the marker data is also taken into consideration.
Parameters
the marker data specific to this log statement
the format string
the first argument
the second argument
This method is similar to .warn method except that the marker data is also taken into consideration.
Parameters
the marker data specific to this log statement
the format string
a list of 3 or more arguments
This method is similar to .warn method except that the marker data is also taken into consideration.
Parameters
the marker data for this log statement
the message accompanying the exception
the exception (throwable) to log
Lazy add a log message if isWarnEnabled is true
Lazy add a log message with throwable payload if isWarnEnabled is true
Lazy add a log message if isWarnEnabled is true
Lazy add a log message with throwable payload if isWarnEnabled is true
Lazy add a log message if isWarnEnabled is true
Lazy add a log message with throwable payload if isWarnEnabled is true
Lazy add a log message with a marker if isWarnEnabled is true
Lazy add a log message with a marker and throwable payload if isWarnEnabled is true