public class LoggerRecorder extends AbstractRecorder
MessageRecorder that writes to a
log4j logger.DEFAULT_MSG_LIMIT| Constructor and Description |
|---|
LoggerRecorder(org.apache.log4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
recordMessage(String msg,
Object info,
mondrian.recorder.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, mondrian.recorder.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 valuesCopyright © 2021 Hitachi Vantara. All rights reserved.