1#ifndef RESIP_Logger_hxx
2#define RESIP_Logger_hxx
120#define CerrLog(args_) \
121 resip::Log::tags(resip::Log::StdErr, RESIPROCATE_SUBSYSTEM, \
122 __FILE__, __LINE__, __func__, resipCerr, resip::Log::Unstructured) << ' ' << '|' << ' ' \
125#define StackLog(args_) \
126GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Stack, args_)
128#define DebugLog(args_) \
129GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Debug, args_)
131#define InfoLog(args_) \
132GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Info, args_)
134#define WarningLog(args_) \
135GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Warning, args_)
137#define ErrLog(args_) \
138GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Err, args_)
140#define CritLog(args_) \
141GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Crit, args_)
150#define GenericLog(system_, level_, args_) \
153 if (genericLogCheckLevel(level_, system_)) \
155 resip::Log::Guard _resip_log_guard(level_, system_, __FILE__, __LINE__, __func__); \
156 _resip_log_guard.asStream() args_; \
163#define DebugLog(args_)
165#define StackLog(args_)
static bool genericLogCheckLevel(resip::Log::Level level, const resip::Subsystem &sub)
Singleton that handles logging calls.
static bool isLogging(Log::Level level, const Subsystem &)
Class used to specify what sub-system given sections of code belong to, for use by the logging system...
dcm! – add UnusedChecking(_enum) below;
Log GenericLogImpl
DEPRECATED! Left for backward compatibility.