public class CommandLineLogger extends AbstractRuleLogger
| Modifier and Type | Class and Description |
|---|---|
static class |
CommandLineLogger.LogLevel |
static class |
CommandLineLogger.LogLevelValidator |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_LOG_LEVEL |
| Constructor and Description |
|---|
CommandLineLogger(String logLevel) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDebug(String msg) |
protected void |
doError(String msg,
Throwable e) |
protected void |
doInfo(String msg) |
protected void |
doTrace(String msg) |
protected void |
doWarn(String msg,
Throwable e) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
void |
printLogLevels() |
public static final String DEFAULT_LOG_LEVEL
public CommandLineLogger(String logLevel)
public boolean isDebugEnabled()
public boolean isErrorEnabled()
public boolean isInfoEnabled()
public boolean isTraceEnabled()
public boolean isWarnEnabled()
public void printLogLevels()
protected void doDebug(String msg)
doDebug in class AbstractRuleLoggerprotected void doError(String msg, Throwable e)
doError in class AbstractRuleLoggerprotected void doInfo(String msg)
doInfo in class AbstractRuleLoggerprotected void doTrace(String msg)
doTrace in class AbstractRuleLoggerprotected void doWarn(String msg, Throwable e)
doWarn in class AbstractRuleLoggerCopyright © 2023. All rights reserved.