[open]lipc
Open-source LIPC header file
|
LIPC internal logging. More...
Macros | |
#define | LAB126_LOG_DEBUG (n) ((1 << ((n) - 1)) << 8) |
#define | LAB126_LOG_INFO (0x0080 << 16) |
#define | LAB126_LOG_WARNING (0x0100 << 16) |
#define | LAB126_LOG_ERROR (0x0200 << 16) |
#define | LAB126_LOG_CRITICAL (0x0400 << 16) |
#define | LAB126_LOG_DEBUG_ALL 0x0000FF00 |
#define | LAB126_LOG_ALL 0xFFFFFF00 |
Functions | |
void | LipcSetLlog (int mask) |
Variables | |
int | g_lab126_log_mask |
LIPC internal logging.
#define LAB126_LOG_DEBUG (n) ((1 << ((n) - 1)) << 8) |
Log debug messages.
LIPC defines 8 levels of debug messages. Via this macro one can select the level which should be logged. Valid values are from 1 to 8.
void LipcSetLlog | ( | int | mask | ) |
Set the LIPC internal logging mask.
The logging mask parameter should be the logical OR of the logging flags (LAB126_LOG_* definitions). The current state of the logging mask can be accessed via the g_lab126_log_mask global variable.
mask | The logging mask. |
int g_lab126_log_mask |
Global logging mask.