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, throwRTException
protected void recordMessage(String msg, Object info, mondrian.recorder.AbstractRecorder.MsgType msgType)
AbstractRecorder
recordMessage
in class AbstractRecorder
msg
- the error or warning message.info
- the information Object which might be null.msgType
- one of the message type enum valuesCopyright © 2020 Hitachi Vantara. All rights reserved.