public class LoggerRecorder extends AbstractRecorder
MessageRecorder that writes to a
 log4j logger.AbstractRecorder.MsgTypeDEFAULT_MSG_LIMIT| Constructor and Description | 
|---|
LoggerRecorder(org.apache.log4j.Logger logger)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
recordMessage(String msg,
             Object info,
             AbstractRecorder.MsgType msgType)
Handles a message. 
 | 
clear, getContext, getErrorCount, getInfoCount, getRunTimeMillis, getStartTimeMillis, getWarningCount, hasErrors, hasInformation, hasWarnings, logMessage, popContextName, pushContextName, reportError, reportError, reportError, reportError, reportInfo, reportInfo, reportWarning, reportWarning, throwRTExceptionprotected void recordMessage(String msg, Object info, AbstractRecorder.MsgType msgType)
AbstractRecorderrecordMessage in class AbstractRecordermsg - the error or warning message.info - the information Object which might be null.msgType - one of the message type enum values