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) |
Functions | |
static void | Trace (const char *funcName, int line, const char *fmtStr,...) |
static bool | IsWhitespace (char c) |
static const char * | CurrentTime () |
static const char * | AppendTimestamp (const char *Mmm_dd_yyyy, const char *hh_mm_ss, const char *cStr) |
static const char * | VSTOpcodeStr (int opCode) |
static const char * | AUSelectStr (int select) |
static const char * | AUPropertyStr (int propID) |
static const char * | AUScopeStr (int scope) |
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.
#define APPEND_TIMESTAMP | ( | str | ) | AppendTimestamp(__DATE__, __TIME__, str) |
Definition at line 75 of file IPlugLogger.h.
#define TRACE |
Definition at line 69 of file IPlugLogger.h.
#define TRACELOC __FUNCTION__,__LINE__ |
Definition at line 72 of file IPlugLogger.h.
|
static |
Definition at line 154 of file IPlugLogger.h.
|
static |
Definition at line 646 of file IPlugLogger.h.
|
static |
Definition at line 647 of file IPlugLogger.h.
|
static |
Definition at line 645 of file IPlugLogger.h.
|
static |
Definition at line 124 of file IPlugLogger.h.
|
static |
Definition at line 119 of file IPlugLogger.h.
|
static |
Definition at line 643 of file IPlugLogger.h.
|
static |
Definition at line 644 of file IPlugLogger.h.