public final class JdkLoggerImpl extends MarkerIgnoringBase
java.util.logging.Logger in conformity with the
Logger interface. Note that the logging levels mentioned in this class refer to those defined in the java.util.logging package.
| Modifier and Type | Field and Description |
|---|---|
protected String |
name
|
ROOT_LOGGER_NAME| Modifier and Type | Method and Description |
|---|---|
void |
debug(String
Log a message object at level FINE.
|
void |
debug(String
Log a message at level FINE according to the specified format and argument.
|
void |
debug(String
Log a message at level FINE according to the specified format and arguments.
|
void |
debug(String
Log a message at level FINE according to the specified format and arguments.
|
void |
debug(String
Log an exception (throwable) at level FINE with an accompanying message.
|
void |
error(String
Log a message object at the SEVERE level.
|
void |
error(String
Log a message at the SEVERE level according to the specified format and argument.
|
void |
error(String
Log a message at level SEVERE according to the specified format and arguments.
|
void |
error(String
Log a message at the SEVERE level according to the specified format and arguments.
|
void |
error(String
Log an exception (throwable) at the SEVERE level with an accompanying message.
|
void |
info(String
Log a message object at the INFO level.
|
void |
info(String
Log a message at level INFO according to the specified format and argument.
|
void |
info(String
Log a message at level INFO according to the specified format and arguments.
|
void |
info(String
Log a message at the INFO level according to the specified format and arguments.
|
void |
info(String
Log an exception (throwable) at the INFO level with an accompanying message.
|
boolean |
isDebugEnabled()
Is this logger instance enabled for the FINE level?
|
boolean |
isErrorEnabled()
Is this logger instance enabled for level SEVERE?
|
boolean |
isInfoEnabled()
Is this logger instance enabled for the INFO level?
|
boolean |
isTraceEnabled()
Is this logger instance enabled for the FINEST level?
|
boolean |
isWarnEnabled()
Is this logger instance enabled for the WARNING level?
|
void |
trace(String
Log a message object at level FINEST.
|
void |
trace(String
Log a message at level FINEST according to the specified format and argument.
|
void |
trace(String
Log a message at level FINEST according to the specified format and arguments.
|
void |
trace(String
Log a message at level FINEST according to the specified format and arguments.
|
void |
trace(String
Log an exception (throwable) at level FINEST with an accompanying message.
|
void |
warn(String
Log a message object at the WARNING level.
|
void |
warn(String
Log a message at the WARNING level according to the specified format and argument.
|
void |
warn(String
Log a message at level WARNING according to the specified format and arguments.
|
void |
warn(String
Log a message at the WARNING level according to the specified format and arguments.
|
void |
warn(String
Log an exception (throwable) at the WARNING level with an accompanying message.
|
debug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, toString, trace, trace, trace, trace, trace, warn, warn, warn, warn, warnprotected Stringname
public boolean isTraceEnabled()
public void trace(Stringmsg)
msg - - the message object to be logged
public void trace(Stringformat, Object arg)
This form avoids superfluous object creation when the logger is disabled for level FINEST.
format - the format string
arg - the argument
public void trace(Stringformat, Object arg1, Object arg2)
This form avoids superfluous object creation when the logger is disabled for the FINEST level.
format - the format string
arg1 - the first argument
arg2 - the second argument
public void trace(Stringformat, Object [] argArray)
This form avoids superfluous object creation when the logger is disabled for the FINEST level.
format - the format string
argArray - an array of arguments
public void trace(Stringmsg, Throwable t)
msg - the message accompanying the exception
t - the exception (throwable) to log
public boolean isDebugEnabled()
public void debug(Stringmsg)
msg - - the message object to be logged
public void debug(Stringformat, Object arg)
This form avoids superfluous object creation when the logger is disabled for level FINE.
format - the format string
arg - the argument
public void debug(Stringformat, Object arg1, Object arg2)
This form avoids superfluous object creation when the logger is disabled for the FINE level.
format - the format string
arg1 - the first argument
arg2 - the second argument
public void debug(Stringformat, Object [] argArray)
This form avoids superfluous object creation when the logger is disabled for the FINE level.
format - the format string
argArray - an array of arguments
public void debug(Stringmsg, Throwable t)
msg - the message accompanying the exception
t - the exception (throwable) to log
public boolean isInfoEnabled()
public void info(Stringmsg)
msg - - the message object to be logged
public void info(Stringformat, Object arg)
This form avoids superfluous object creation when the logger is disabled for the INFO level.
format - the format string
arg - the argument
public void info(Stringformat, Object arg1, Object arg2)
This form avoids superfluous object creation when the logger is disabled for the INFO level.
format - the format string
arg1 - the first argument
arg2 - the second argument
public void info(Stringformat, Object [] argArray)
This form avoids superfluous object creation when the logger is disabled for the INFO level.
format - the format string
argArray - an array of arguments
public void info(Stringmsg, Throwable t)
msg - the message accompanying the exception
t - the exception (throwable) to log
public boolean isWarnEnabled()
public void warn(Stringmsg)
msg - - the message object to be logged
public void warn(Stringformat, Object arg)
This form avoids superfluous object creation when the logger is disabled for the WARNING level.
format - the format string
arg - the argument
public void warn(Stringformat, Object arg1, Object arg2)
This form avoids superfluous object creation when the logger is disabled for the WARNING level.
format - the format string
arg1 - the first argument
arg2 - the second argument
public void warn(Stringformat, Object [] argArray)
This form avoids superfluous object creation when the logger is disabled for the WARNING level.
format - the format string
argArray - an array of arguments
public void warn(Stringmsg, Throwable t)
msg - the message accompanying the exception
t - the exception (throwable) to log
public boolean isErrorEnabled()
public void error(Stringmsg)
msg - - the message object to be logged
public void error(Stringformat, Object arg)
This form avoids superfluous object creation when the logger is disabled for the SEVERE level.
format - the format string
arg - the argument
public void error(Stringformat, Object arg1, Object arg2)
This form avoids superfluous object creation when the logger is disabled for the SEVERE level.
format - the format string
arg1 - the first argument
arg2 - the second argument
public void error(Stringformat, Object [] argArray)
This form avoids superfluous object creation when the logger is disabled for the SEVERE level.
format - the format string
argArray - an array of arguments