C++ Utilities
Loading...
Searching...
No Matches
log.h

Some very simple facilities to create and handle log & debug messages.
See the Logging page for all the details. More...

Go to the source code of this file.

Classes

class  utilities::message
 A utilities::message object captures a location where the message was created and optionally a payload string. More...

Namespaces

namespace  utilities
 The namespace for the utilities library.

Macros

#define DBG(...)
 Create and dispatch a debug messages – only ever printed if the DEBUG flag is set at compile time.
#define LOG(...)
 Create and dispatch a log message. Can be turned off by setting NO_LOGS at compile time.
#define MAKE_MESSAGE(type, ...)
 Messages (instances of the utilities::message class below) are constructed using the MAKE_MESSAGE macro.

Detailed Description

Some very simple facilities to create and handle log & debug messages.
See the Logging page for all the details.