ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
ALoxReportWriter Class Reference

Description:


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 25 of file reportwriter.hpp.

#include <reportwriter.hpp>

Inheritance diagram for ALoxReportWriter:
[legend]
Collaboration diagram for ALoxReportWriter:
[legend]

Public Static Method Index:

static ALIB_API NStringLogDomain ()
 

Public Method Index:

ALIB_API ALoxReportWriter (Lox *lox)
 
virtual ~ALoxReportWriter () override
 
virtual void NotifyActivation (lang::Phase) override
 
virtual void Report (lang::Message &msg) override
 
- Public Method Index: inherited from ReportWriter
virtual ~ReportWriter ()
 

Field Details:

◆ lox

Lox* lox
protected

The Lox to report to.

Definition at line 29 of file reportwriter.hpp.

◆ reportDomain

NString16 reportDomain
staticprotected

The internal domain to report into.

Definition at line 32 of file reportwriter.hpp.

Constructor(s) / Destructor Details::

◆ ALoxReportWriter()


Constructs an AloxReportWriter.

Parameters
loxThe Lox to report to.

Definition at line 22 of file reportwriter.cpp.

Here is the call graph for this function:

◆ ~ALoxReportWriter()

virtual ~ALoxReportWriter ( )
inlineoverridevirtual

Virtual destructor

Definition at line 45 of file reportwriter.hpp.

Method Details:

◆ LogDomain()

NString & LogDomain ( )
static

Returns the domain used to write reports.

Returns
The report log domain.

Definition at line 96 of file reportwriter.cpp.

Here is the call graph for this function:

◆ NotifyActivation()

virtual void NotifyActivation ( lang::Phase )
inlineoverridevirtual

Notify activation/deactivation

Implements ReportWriter.

Definition at line 50 of file reportwriter.hpp.

◆ Report()

void Report ( lang::Message & msg)
overridevirtual

Write ALib reports using ALox .

Parameters
msgThe message to log.

Implements ReportWriter.

Definition at line 38 of file reportwriter.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: