iPlug2 - C++ Audio Plug-in Framework
|
IPlug logging a.k.a tracing functionality. More...
#include <cstdio>
#include <cctype>
#include <cstdarg>
#include <cstdint>
#include <cstring>
#include <ctime>
#include <cassert>
#include "wdlstring.h"
#include "mutex.h"
#include "IPlugConstants.h"
#include "IPlugUtilities.h"
Go to the source code of this file.
Macros | |
#define | TRACE |
#define | TRACELOC __FUNCTION__,__LINE__ |
#define | APPEND_TIMESTAMP(str) AppendTimestamp(__DATE__, __TIME__, str) |
IPlug logging a.k.a tracing functionality.
To trace some arbitrary data: Trace(TRACELOC, "%s:%d", myStr, myInt); To simply create a trace entry in the log: TRACE No need to wrap tracer calls in #ifdef TRACER_BUILD because Trace is a no-op unless TRACER_BUILD is defined.
Definition in file IPlugLogger.h.