The standard ReportWriter writing the message to System.err
and System.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 final ReportWriterStdIO | SINGLETON = new com.aworx.lib.lang.ReportWriterStdIO() |
Public Methods | |
void | NotifyActivation (Phase phase) |
void | report (Report.Message msg) |
Protected Fields | |
AString | buffer = new AString() |
Protected Methods | |
ReportWriterStdIO () | |
|
protected |
Protected constructor, only one Singleton might exist.
void NotifyActivation | ( | Phase | phase | ) |
Notify activation/deactivation
phase | Information if activated or deactivated. |
Implements ReportWriter.
void report | ( | Report.Message | msg | ) |
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.