public static class SCXMLReaderTest.RecordingSimpleLog extends org.apache.commons.logging.impl.SimpleLog
currentLogLevel, dateFormatter, dateTimeFormat, DEFAULT_DATE_TIME_FORMAT, LOG_LEVEL_ALL, LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_FATAL, LOG_LEVEL_INFO, LOG_LEVEL_OFF, LOG_LEVEL_TRACE, LOG_LEVEL_WARN, logName, showDateTime, showLogName, showShortName, simpleLogProps, systemPrefix
Constructor and Description |
---|
SCXMLReaderTest.RecordingSimpleLog(String name) |
Modifier and Type | Method and Description |
---|---|
void |
clearMessages()
Clear all the recorded log messages.
|
boolean |
containsMessage(String msg)
Return true if msg is found in any recorded log messages.
|
protected boolean |
isLevelEnabled(int logLevel) |
protected void |
log(int type,
Object message,
Throwable t) |
public SCXMLReaderTest.RecordingSimpleLog(String name)
public void clearMessages()
public boolean containsMessage(String msg)
msg
- protected boolean isLevelEnabled(int logLevel)
isLevelEnabled
in class org.apache.commons.logging.impl.SimpleLog
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.