The standard ReportWriter writing the message to Console.Error
and Console.Out
. The global formatter singleton is used is used to process the objects in the report message. This is by default of type FormatterPythonStyle. See Formatter.AcquireDefault for more information.
Public Static Fields | |
static readonly ReportWriterStdIO | Singleton = new ReportWriterStdIO() |
Public Methods | |
virtual void | NotifyActivation (lang.Phase phase) |
virtual void | Report (Report.Message msg) |
Protected Fields | |
AString | buffer = new AString() |
Protected Methods | |
ReportWriterStdIO () | |
|
inlineprotected |
Protected constructor, only one Singleton might exist.
|
inlinevirtual |
Notify activation/deactivation
phase | Information if activated or deactivated. |
Implements ReportWriter.
|
inlinevirtual |
Just writes the prefix "ALib Report (Error):" (respectively "ALib Report (Warning):" and the error message to the cout.
msg | The message to report. |
Implements ReportWriter.
|
static |
The singleton which is added in the constructor of Report.