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 AbstractRuleLogger
protected void doError(String msg, Throwable e)
doError
in class AbstractRuleLogger
protected void doInfo(String msg)
doInfo
in class AbstractRuleLogger
protected void doTrace(String msg)
doTrace
in class AbstractRuleLogger
protected void doWarn(String msg, Throwable e)
doWarn
in class AbstractRuleLogger
Copyright © 2022. All rights reserved.