#include <log.h>
Inheritance diagram for utils::logging::dolog::

Public Methods | |
| dolog (const char *file, int line) | |
| dolog () | |
| ~dolog () | |
Public Attributes | |
| ostrstream | buf |
This structure collects parts of the logging entry via << operators. On destruction the contents of the internal buffer is sent as a whole to the main logging object.
Usually you would not use this class directly, use the provided log and dlog macros instead. For example:
The log macro expands to the dolog class always, whereas the dlog macro expands to the dolog class only in debug mode (i.e. when NDEBUG is not defined.) Otherwise it expands to a no-op with the same functional interface: the nolog class.
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001