|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Logger
The main user interface to logging. It is expected that logging takes place through concrete implementations of this interface.
| Method Summary | |
|---|---|
void |
debug(String msg)
|
void |
debug(String errmsg,
Object object)
|
void |
debug(String string,
Object[] object)
|
void |
debug(String format,
Object[] args,
Throwable t)
Log an exception (throwable) at level DEBUG with an accompanying message according to the specified format and arguments. |
void |
debug(String string,
Object obj1,
Object obj2)
|
void |
debug(String errmsg,
Throwable e)
|
void |
error(String msg)
|
void |
error(String msg,
Object object)
|
void |
error(String string,
Object[] args)
|
void |
error(String format,
Object[] args,
Throwable t)
Log an exception (throwable) at level ERROR with an accompanying message according to the specified format and arguments. |
void |
error(String string,
Object obj1,
Object obj2)
|
void |
error(String msg,
Throwable ex)
|
void |
info(String msg)
|
void |
info(String msg,
Object object)
|
void |
info(String string,
Object[] args)
|
void |
info(String format,
Object[] args,
Throwable t)
Log an exception (throwable) at level INFO with an accompanying message according to the specified format and arguments. |
void |
info(String string,
Object obj1,
Object obj2)
|
void |
info(String msg,
Throwable ex)
|
boolean |
isDebugEnabled()
|
boolean |
isInfoEnabled()
|
void |
warn(String string)
|
void |
warn(String string,
Object object)
|
void |
warn(String string,
Object[] object)
|
void |
warn(String format,
Object[] args,
Throwable t)
Log an exception (throwable) at level WARN with an accompanying message according to the specified format and arguments. |
void |
warn(String string,
Object obj1,
Object obj2)
|
void |
warn(String string,
Throwable t)
|
| Method Detail |
|---|
void debug(String msg)
void debug(String string,
Object[] object)
void debug(String errmsg,
Object object)
void debug(String errmsg,
Throwable e)
void debug(String string,
Object obj1,
Object obj2)
void error(String msg)
void error(String string,
Object[] args)
void error(String msg,
Throwable ex)
void error(String msg,
Object object)
void error(String string,
Object obj1,
Object obj2)
void info(String msg)
void info(String string,
Object[] args)
void info(String msg,
Throwable ex)
void info(String msg,
Object object)
void info(String string,
Object obj1,
Object obj2)
boolean isDebugEnabled()
boolean isInfoEnabled()
void warn(String string)
void warn(String string,
Object[] object)
void warn(String string,
Object object)
void warn(String string,
Throwable t)
void warn(String string,
Object obj1,
Object obj2)
void debug(String format,
Object[] args,
Throwable t)
This form avoids superfluous object creation when the logger is disabled for the DEBUG level.
format - the format string.args - the arguments.t - the exception (throwable) to log.
void info(String format,
Object[] args,
Throwable t)
This form avoids superfluous object creation when the logger is disabled for the INFO level.
format - the format string.args - the arguments.t - the exception (throwable) to log.
void warn(String format,
Object[] args,
Throwable t)
This form avoids superfluous object creation when the logger is disabled for the WARN level.
format - the format string.args - the arguments.t - the exception (throwable) to log.
void error(String format,
Object[] args,
Throwable t)
This form avoids superfluous object creation when the logger is disabled for the ERROR level.
format - the format string.args - the arguments.t - the exception (throwable) to log.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||