Log

<dmsdk/dlib/log.h>

Logging functions. If DLIB_LOG_DOMAIN is defined the value of the defined is printed after severity. Otherwise DEFAULT will be printed.
Log functions will be omitted (NOP) for release builds.

#define DLIB_LOG_DOMAIN "MyOwnDomain"
#include <dmsdk/dlib/log.h>

dmLogDebug

macro for debug category logging

Debug messages are temporary log instances used when debugging a certain behavior Use dmLogOnceDebug for one-shot logging

PARAMETERS

format -

const char* Format string

args -

... Format string args (variable arg list)


dmLogError

macro for error category logging

Error messages are used in cases where an recoverable error has occurred. Use dmLogOnceError for one-shot logging

PARAMETERS

format -

const char* Format string

args -

... Format string args (variable arg list)


dmLogFatal

macro for fatal category logging

Fatal messages are used in cases where an unrecoverable error has occurred. Use dmLogOnceFatal for one-shot logging

PARAMETERS

format -

const char* Format string

args -

... Format string args (variable arg list)


dmLogInfo

macro for info category logging

Info messages are used to inform the developers of relevant information Use dmLogOnceInfo for one-shot logging

PARAMETERS

format -

const char* Format string

args -

... Format string args (variable arg list)


dmLogUserDebug

macro for debug category logging

Debug messages are temporary log instances used when debugging a certain behavior Use dmLogOnceUserDebug for one-shot logging

PARAMETERS

format -

const char* Format string

args -

... Format string args (variable arg list)


dmLogWarning

macro for warning category logging

Warning messages are used to inform the developers about potential problems which can cause errors. Use dmLogOnceWarning for one-shot logging

PARAMETERS

format -

const char* Format string

args -

... Format string args (variable arg list)