public class PrintStreamRecorder extends AbstractRecorder
MessageRecorder
simply writes messages to
PrintStreams.DEFAULT_MSG_LIMIT
Constructor and Description |
---|
PrintStreamRecorder() |
PrintStreamRecorder(PrintStream out,
PrintStream err) |
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
public PrintStreamRecorder()
public PrintStreamRecorder(PrintStream out, PrintStream err)
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.