public interface Logger
Modifier and Type | Method and Description |
---|---|
void |
debug(String msg)
Log with level debug.
|
void |
error(String msg)
Log with level error.
|
void |
error(String msg,
Throwable e)
Log with level error.
|
void |
error(Throwable e)
Log with level error.
|
void |
info(String msg)
Log with level info.
|
boolean |
isDebugEnabled()
Checks if debug is enabled.
|
boolean |
isErrorEnabled()
Checks if error is enabled.
|
boolean |
isInfoEnabled()
Checks if info is enabled.
|
boolean |
isTraceEnabled()
Checks if trace is enabled.
|
boolean |
isWarnEnabled()
Checks if warn is enabled.
|
void |
trace(String msg)
Log with level trace.
|
void |
warn(String msg)
Log with level warn.
|
void debug(String msg)
msg
- log messagevoid error(String msg)
msg
- log messagevoid error(String msg, Throwable e)
msg
- log messagee
- errorvoid error(Throwable e)
e
- errorvoid info(String msg)
msg
- log messageboolean isDebugEnabled()
boolean isErrorEnabled()
boolean isInfoEnabled()
boolean isTraceEnabled()
boolean isWarnEnabled()
void trace(String msg)
msg
- log messagevoid warn(String msg)
msg
- log message