| gumd API Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <gum/common/gum-log.h> #define DBG (frmt, ...) #define ERR (frmt, ...) #define INFO (frmt, ...) #define TRACEBACK #define WARN (frmt, ...)
gum/common/gum-log.h file contains logging macros
For example:
INFO("Object initialized");
#define DBG(frmt, args...)
Use this macro to log debug messages. Gum 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. Gum 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. Gum will take care of correctly saving them.
|
format string for the message |
|
arguments for the format string |