libcwdversion 2.0.0
The C++ Debugging Support Library
Loading...
Searching...
No Matches
macro_Libcwd_macros.h File Reference
#include "libcwd/config.h"
#include <cstddef>

Go to the source code of this file.

Macros

#define LibcwDebug(dc_namespace, ...)
 General debug macro.
#define LibcwDout(dc_namespace, debug_obj, cntrl, ...)
 General debug output macro.
#define LibcwDoutFatal(dc_namespace, debug_obj, cntrl, ...)
 General fatal debug output macro.

Detailed Description

Do not include this header file directly, instead include debug.h.

Macro Definition Documentation

◆ LibcwDebug

#define LibcwDebug ( dc_namespace,
... )
Value:
do \
{ \
using namespace ::libcwd; \
using namespace ::dc_namespace; \
{ \
__VA_ARGS__; \
} \
} while (0)
namespace for libcwd.

This macro allows one to implement a customized "@ref Debug", using a custom debug channel namespace.

See also
The Custom "debug.h" File

◆ LibcwDout

#define LibcwDout ( dc_namespace,
debug_obj,
cntrl,
... )
Value:
LibcwDoutScopeBegin(dc_namespace, debug_obj, cntrl) LibcwDoutStream << __VA_ARGS__; \
LibcwDoutScopeEnd

This macro allows one to implement a customized "@ref Dout", using a custom debug object and/or channel namespace.

See also
The Custom "debug.h" File

◆ LibcwDoutFatal

#define LibcwDoutFatal ( dc_namespace,
debug_obj,
cntrl,
... )
Value:
LibcwDoutFatalScopeBegin(dc_namespace, debug_obj, cntrl) LibcwDoutFatalStream << __VA_ARGS__; \
LibcwDoutFatalScopeEnd

This macro allows one to implement a customized "@ref DoutFatal", using a custom debug object and/or channel namespace.

See also
The Custom "debug.h" File