|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmondrian.recorder.AbstractRecorder
mondrian.recorder.LoggerRecorder
public class LoggerRecorder
Implementation of MessageRecorder
that writes to a
log4j logger
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class mondrian.recorder.AbstractRecorder |
---|
AbstractRecorder.MsgType |
Field Summary |
---|
Fields inherited from class mondrian.recorder.AbstractRecorder |
---|
DEFAULT_MSG_LIMIT |
Constructor Summary | |
---|---|
LoggerRecorder(org.apache.log4j.Logger logger)
|
Method Summary | |
---|---|
protected void |
recordMessage(java.lang.String msg,
java.lang.Object info,
AbstractRecorder.MsgType msgType)
Handles a message. |
Methods inherited from class mondrian.recorder.AbstractRecorder |
---|
clear, getContext, getErrorCount, getInfoCount, getRunTimeMillis, getStartTimeMillis, getWarningCount, hasErrors, hasInformation, hasWarnings, logMessage, popContextName, pushContextName, reportError, reportError, reportError, reportError, reportInfo, reportInfo, reportWarning, reportWarning, throwRTException |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggerRecorder(org.apache.log4j.Logger logger)
Method Detail |
---|
protected void recordMessage(java.lang.String msg, java.lang.Object info, 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 values
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |