| Top | Description |
#include <gsignond/gsignond-log.h> #define DBG (frmt, ...) #define ERR (frmt, ...) #define INFO (frmt, ...) #define TRACEBACK #define WARN (frmt, ...)
gsignond/gsignond-log.h file contains logging macros
that plugins and extensions should use for debugging and tracing.
For example:
1 |
INFO("Plugin %s initialized", plugin_mechanism); |
#define DBG(frmt, args...)
Use this macro to log debug messages. GSignond will take care of correctly saving them.
|
format string for the message |
|
arguments for the format string |
#define ERR(frmt, args...)
Use this macro to log error messages. GSignond will take care of correctly saving them.
|
format string for the message |
|
arguments for the format string |
#define INFO(frmt, args...)
Use this macro to log informational messages. GSignond will take care of correctly saving them.
|
format string for the message |
|
arguments for the format string |