The ReportWriter for ALib when using ALox. An instance of this class is created in method Log::AddDebugLogger and registered with ALib.
Uses internal domain '$/REPORT'
for logging.
Definition at line 23 of file reportwriter.hpp.
#include <reportwriter.hpp>
Public Static Method Index: | |
static ALIB_API NString & | LogDomain () |
Public Method Index: | |
ALIB_API | ALoxReportWriter (Lox *lox) |
virtual | ~ALoxReportWriter () override |
Virtual destructor. | |
virtual void | NotifyActivation (lang::Phase) override |
Notify activation/deactivation. | |
virtual void | Report (lang::Message &msg) override |
Public Method Index: inherited from ReportWriter | |
virtual | ~ReportWriter () |
Virtual destructor. | |
Protected Static Field Index: | |
static NString16 | reportDomain |
The internal domain to report into. | |
Protected Field Index: | |
Lox * | lox |
The Lox to report to. | |
|
protected |
The Lox to report to.
Definition at line 27 of file reportwriter.hpp.
|
staticprotected |
The internal domain to report into.
Definition at line 30 of file reportwriter.hpp.
ALoxReportWriter | ( | Lox * | lox | ) |
Constructs an AloxReportWriter.
lox | The Lox to report to. |
Definition at line 16 of file reportwriter.cpp.
|
inlineoverridevirtual |
Virtual destructor.
Definition at line 43 of file reportwriter.hpp.
|
static |
Returns the domain used to write reports.
Definition at line 90 of file reportwriter.cpp.
|
inlineoverridevirtual |
Notify activation/deactivation.
Implements ReportWriter.
Definition at line 48 of file reportwriter.hpp.
|
overridevirtual |
Write ALib reports using ALox.
msg | The message to log. |
Implements ReportWriter.
Definition at line 32 of file reportwriter.cpp.