Logging

Logging — logging facilities

Functions

#define TRACEBACK
#define ERR()
#define WARN()
#define INFO()
#define DBG()

Object Hierarchy


Includes

#include <gum/common/gum-log.h>

Description

gum/common/gum-log.h file contains logging macros

For example:

Functions

TRACEBACK

#define             TRACEBACK()

This macro prints the current function call stack to stderr.


ERR()

#define             ERR(frmt, args...)

Use this macro to log error messages. Gum will take care of correctly saving them.

Parameters

frmt

format string for the message

 

...

arguments for the format string

 

WARN()

#define             WARN(frmt, args...)

Use this macro to log warning messages. Gum will take care of correctly saving them.

Parameters

frmt

format string for the message

 

...

arguments for the format string

 

INFO()

#define             INFO(frmt, args...)

Use this macro to log informational messages. Gum will take care of correctly saving them.

Parameters

frmt

format string for the message

 

...

arguments for the format string

 

DBG()

#define             DBG(frmt, args...)

Use this macro to log debug messages. Gum will take care of correctly saving them.

Parameters

frmt

format string for the message

 

...

arguments for the format string

 

Types and Values