level
value on the wrapped Logger
returns true
, invokes the {@link Logger#log(LogRecord) log} methodof the wrapped Logger
, passing a {@link LogRecord}constructed with the given level
and message
values. The thrown
value is set as the Throwable
value {@linkplain LogRecord#setThrown associated}with the LogRecord
. The {@linkplain LogRecord#setSourceClassName source class name} and {@linkplain LogRecord#setSourceMethodName source method name} of theLogRecord
are set to the class and method names of the caller of this method, if they can be determined. Any exceptions or errors thrown by the underlying log
call are swallowed.
@param level the level at which to log
@param thrown the Throwable
associated with the logmessage
@param message the log message, which can be null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|