public interface Logger
Modifier and Type | Field and Description |
---|---|
static String |
ROOT_LOGGER_NAME
Case insensitive String constant used to retrieve the name of the root logger.
|
Modifier and Type | Method and Description |
---|---|
void |
debug(String msg)
Log a message at the DEBUG level.
|
void |
debug(String msg,
Object... args)
Log a message at the DBUG level processing the passed arguments.
|
void |
debug(String msg,
Throwable t)
Log an exception (throwable) at the DEBUG level with an accompanying message.
|
void |
error(String msg)
Log a message at the ERROR level.
|
void |
error(String msg,
Object... args)
Log a message at the ERROR level processing the passed arguments.
|
void |
error(String msg,
Throwable t)
Log an exception (throwable) at the ERROR level with an accompanying message.
|
void |
fatal(String msg)
Log a message at the WARN level.
|
void |
fatal(String msg,
Object... args)
Log a message at the FATAL level processing the passed arguments.
|
void |
fatal(String msg,
Throwable t)
Log an exception (throwable) at the WARN level with an accompanying message.
|
String |
getName() |
void |
info(String msg)
Log a message at the INFO level.
|
void |
info(String msg,
Object... args)
Log the given message at the INFO processing the passed arguments.
|
void |
info(String msg,
Throwable t)
Log an exception (throwable) at the INFO level with an accompanying message.
|
boolean |
isDebugEnabled()
Is the logger instance enabled for the DEBUG level?
|
boolean |
isErrorEnabled()
Is the logger instance enabled for the ERROR level?
|
boolean |
isFatalEnabled()
Is the logger instance enabled for the FATAL level?
|
boolean |
isInfoEnabled()
Is the logger instance enabled for the INFO level?
|
boolean |
isTraceEnabled()
Is the logger instance enabled for the TRACE level?
|
boolean |
isWarnEnabled()
Is the logger instance enabled for the WARN level?
|
void |
trace(String msg)
Log a message at the TRACE level.
|
void |
trace(String msg,
Object... args)
Log a message at the TRACE level processing the passed arguments.
|
void |
trace(String msg,
Throwable t)
Log an exception (throwable) at the TRACE level with an accompanying message.
|
void |
warn(String msg)
Log a message at the WARN level.
|
void |
warn(String msg,
Object... args)
Log a message at the WARN level processing the passed arguments.
|
void |
warn(String msg,
Throwable t)
Log an exception (throwable) at the WARN level with an accompanying message.
|
static final String ROOT_LOGGER_NAME
void debug(String msg)
msg
- the message string to be loggedvoid debug(String msg, Object... args)
msg
- the messageargs
- the argumentsvoid debug(String msg, Throwable t)
msg
- the message accompanying the exceptiont
- the exception (throwable) to logvoid error(String msg)
msg
- the message string to be loggedvoid error(String msg, Object... args)
msg
- the messageargs
- the argumentsvoid error(String msg, Throwable t)
msg
- the message accompanying the exceptiont
- the exception (throwable) to logvoid fatal(String msg)
msg
- the message string to be loggedvoid fatal(String msg, Object... args)
msg
- the messageargs
- the argumentsvoid fatal(String msg, Throwable t)
msg
- the message accompanying the exceptiont
- the exception (throwable) to logString getName()
Logger
instance.void info(String msg)
msg
- the message string to be loggedvoid info(String msg, Object... args)
msg
- the messageargs
- the argumentsvoid info(String msg, Throwable t)
msg
- the message accompanying the exceptiont
- the exception (throwable) to logboolean isDebugEnabled()
boolean isErrorEnabled()
boolean isFatalEnabled()
boolean isInfoEnabled()
boolean isTraceEnabled()
boolean isWarnEnabled()
void trace(String msg)
msg
- the message string to be loggedvoid trace(String msg, Object... args)
msg
- the messageargs
- the argumentsvoid trace(String msg, Throwable t)
msg
- the message accompanying the exceptiont
- the exception (throwable) to logvoid warn(String msg)
msg
- the message string to be loggedvoid warn(String msg, Object... args)
msg
- the message string to be loggedargs
- the argumentsCopyright © 2024 levigo holding gmbh. All rights reserved.