public class LoggerImpl extends AbstractLogger
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
_logger |
LEVEL_DEBUG, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_OFF, LEVEL_TRACE, LEVEL_WARN| Modifier and Type | Method and Description |
|---|---|
void |
debug(String msg,
Object... args)
log debug message
|
void |
error(String msg,
Exception err,
Object... args)
log error message
|
void |
error(String msg,
Object... args)
log error message
|
String |
getLevel()
return the level for the logger
|
String |
getName()
return the name for the logger
|
void |
info(String msg,
Object... args)
log info message
|
boolean |
isDebugEnabled()
Check if debug level is enabled
|
void |
warn(String msg,
Object... args)
log warn message
|
expandMessagepublic String getName()
public String getLevel()
public void debug(String msg, Object... args)
msg - the message or message format to logargs - argument for the logpublic void warn(String msg, Object... args)
msg - the message or message format to logargs - argument for the logpublic void info(String msg, Object... args)
msg - the message or message format to logargs - argument for the logpublic void error(String msg, Object... args)
msg - the message or message format to logargs - argument for the logpublic void error(String msg, Exception err, Object... args)
msg - the message or message format to logerr - with errorargs - argument for the logpublic boolean isDebugEnabled()
LoggerCopyright © 2023 CrafterCMS. All rights reserved.