public class LogFeature extends Object implements RunnerFeature
Modifier and Type | Field and Description |
---|---|
protected static String |
CONSOLE_APPENDER |
protected static String |
CONSOLE_LOG_FEATURE_APPENDER |
protected org.apache.logging.log4j.core.appender.ConsoleAppender |
consoleAppender |
protected org.apache.logging.log4j.core.appender.ConsoleAppender |
hiddenAppender |
Constructor and Description |
---|
LogFeature() |
Modifier and Type | Method and Description |
---|---|
void |
hideErrorFromConsoleLog() |
void |
hideWarningFromConsoleLog() |
void |
restoreConsoleLog() |
void |
setConsoleLogThreshold(String level) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterMethodRun, afterRun, afterTeardown, beforeMethodRun, beforeRun, beforeSetup, configure, initialize, start, stop, testCreated
protected static final String CONSOLE_APPENDER
protected static final String CONSOLE_LOG_FEATURE_APPENDER
protected org.apache.logging.log4j.core.appender.ConsoleAppender consoleAppender
protected org.apache.logging.log4j.core.appender.ConsoleAppender hiddenAppender
public LogFeature()
public void hideWarningFromConsoleLog()
public void hideErrorFromConsoleLog()
public void setConsoleLogThreshold(String level)
public void restoreConsoleLog()
Copyright © 2018 Nuxeo. All rights reserved.