This class provides an aggregate of several objects relevant to the logging of a message via the C++ stream‐based macros: ` ‐ record to be logged ‐ category to which to log the record ‐ severity at which to log the record ‐ stream to which the user log message is put ` As a side‐effect of creating an object of this class, the record and stream are also constructed. As a side‐effect of destroying the object, the record is logged.
Synopsis
Declared in <ball_log.h>
class Log_Stream;
Description
This class should not be used directly by client code. It is an implementation detail of the macros provided by this component.
Member Functions
Name |
Description |
|
Create a logging stream that holds (1) the specified |
|
Log the record held by this logging stream to the held category (as returned by |
Return the address of the non‐modifiable category held by this logging stream. |
|
|
|
Return the severity held by this logging stream. |
|
Return a reference to the modifiable stream held by this logging stream. The reference remains valid until this logging stream is destroyed. |
Created with MrDocs