trace
Lazy add a log message if isTraceEnabled is true
Deprecated
use trace instead
Replace with
trace(null, marker, msg)
Deprecated
use trace instead
Replace with
trace(t, marker, msg)
Deprecated
Use trace {} instead
Replace with
trace { "$msg"}
Log a message at the TRACE level.
Parameters
the message string to be logged
Deprecated
Use trace {} instead
Replace with
trace { "$msg $arg"}
Log a message at the TRACE level according to the specified msg and argument.
This form avoids superfluous object creation when the logger is disabled for the TRACE level.
Parameters
the msg string
the argument
Deprecated
Use trace {} instead
Replace with
trace { "$msg $arg1 $arg2"}
Log a message at the TRACE level according to the specified msg and arguments.
This form avoids superfluous object creation when the logger is disabled for the TRACE level.
Parameters
the msg string
the first argument
the second argument
Deprecated
Use trace {} instead
Replace with
trace { "$msg $arguments"}
Log a message at the TRACE level according to the specified msg 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 .trace and .trace arguments exist solely in order to avoid this hidden cost.
Parameters
the msg string
a list of 3 or more arguments
Deprecated
Use trace {} instead
Replace with
trace(t) { "$msg"}
Log an exception (throwable) at the TRACE level with an accompanying message.
Parameters
the message accompanying the exception
the exception (throwable) to log
Deprecated
Use trace {} instead
Replace with
trace(marker) { "$msg"}
Log a message with the specific Marker at the TRACE level.
Parameters
the marker data specific to this log statement
the message string to be logged
Deprecated
Use trace {} instead
Replace with
trace(marker) { "$msg $arg"}
This method is similar to .trace method except that the marker data is also taken into consideration.
Parameters
the marker data specific to this log statement
the msg string
the argument
Deprecated
Use trace {} instead
Replace with
trace(marker) { "$msg $arg1 $arg2"}
This method is similar to .trace method except that the marker data is also taken into consideration.
Parameters
the marker data specific to this log statement
the msg string
the first argument
the second argument
Deprecated
Use trace {} instead
Replace with
trace(marker) { "$msg $arguments"}
This method is similar to .trace method except that the marker data is also taken into consideration.
Parameters
the marker data specific to this log statement
the msg string
an array of arguments
Deprecated
Use trace {} instead
Replace with
trace(t, marker) { "$msg"}
This method is similar to .trace method except that the marker data is also taken into consideration.
Parameters
the marker data specific to this log statement
the message accompanying the exception
the exception (throwable) to log