Logging functions.
If DLIB_LOG_DOMAIN is defined the value of the defined is printed after severity. Otherwise DEFAULT will be printed.
#define DLIB_LOG_DOMAIN "MyOwnDomain"
#include <dmsdk/dlib/log.h>
Debug messages are temporary log instances used when debugging a certain behavior Use dmLogOnceDebug for one-shot logging
format - Format string
args - Format string args (variable arg list)
-
Debug messages are temporary log instances used when debugging a certain behavior Use dmLogOnceUserDebug for one-shot logging
format - Format string
args - Format string args (variable arg list)
-
Info messages are used to inform the developers of relevant information Use dmLogOnceInfo for one-shot logging
format - Format string
args - Format string args (variable arg list)
-
Warning messages are used to inform the developers about potential problems which can cause errors. Use dmLogOnceWarning for one-shot logging
format - Format string
args - Format string args (variable arg list)
-
Error messages are used in cases where an recoverable error has occurred. Use dmLogOnceError for one-shot logging
format - Format string
args - Format string args (variable arg list)
-
Fatal messages are used in cases where an unrecoverable error has occurred. Use dmLogOnceFatal for one-shot logging
format - Format string
args - Format string args (variable arg list)
-
Log severity
LOG_SEVERITY_DEBUG -
LOG_SEVERITY_USER_DEBUG -
LOG_SEVERITY_INFO -
LOG_SEVERITY_WARNING -
LOG_SEVERITY_ERROR -
LOG_SEVERITY_FATAL -
dmLog listener function type. Provides all logs from dmLog* functions and print/pprint Lua functions. Used with dmLogRegisterListener() and dmLogUnregisterListener()
severity -
domain -
formatted_string - null terminated string
Registers a log listener. This listener receive logs even in release bundle.
listener -
Unregisters a log listener.
[type:FLogListener] - listener
Set log system severity level.
[type:LogSeverity] - severity
Get log system severity level.
- severity