|
Cyber Garage Portable Runtime (CGPR) for C
|
Macros | |
| #define | cg_log(severity, format...) |
| #define | cg_log_error(format...) |
| #define | cg_log_warn(format...) |
| #define | cg_log_info(format...) |
| #define | cg_log_debug(format...) |
Enumerations | |
| enum | CGLogLevel { CG_LOG_NONE = 0x00 , CG_LOG_ERROR = 0x01 , CG_LOG_WARN = 0x02 , CG_LOG_INFO = 0x04 , CG_LOG_DEBUG = 0x08 , CG_LOG_ALL = 0xFF } |
Functions | |
| void | cg_log_setlevel (CGLogLevel level) |
| void | cg_log_output (int severity, const char *file, int lineN, const char *function, const char *format,...) |
| #define cg_log | ( | severity, | |
| format... ) |
| #define cg_log_debug | ( | format... | ) |
| #define cg_log_error | ( | format... | ) |
| #define cg_log_info | ( | format... | ) |
| #define cg_log_warn | ( | format... | ) |
| enum CGLogLevel |
| void cg_log_output | ( | int | severity, |
| const char * | file, | ||
| int | lineN, | ||
| const char * | function, | ||
| const char * | format, | ||
| ... ) |
| void cg_log_setlevel | ( | CGLogLevel | level | ) |