Project Alice
|
#include "pcp.h"
Go to the source code of this file.
Macros | |
#define | ERR_BUF_LEN 256 |
#define | PCP_MAX_LOG_LEVEL PCP_LOGLVL_INFO |
#define | PCP_LOG(level, fmt, ...) |
#define | PCP_LOG_END(level) |
#define | PCP_LOG_BEGIN(level) |
#define | PCP_LOG_DEBUG(fmt, ...) PCP_LOG(PCP_LOGLVL_DEBUG, fmt, __VA_ARGS__) |
#define | PCP_LOG_FLOW(f, msg) |
Functions | |
void | pcp_logger_init (void) |
void | pcp_logger (pcp_loglvl_e log_level, const char *fmt,...) __attribute__((format(printf |
void | pcp_strerror (int errnum, char *buf, size_t buflen) |
#define ERR_BUF_LEN 256 |
Definition at line 29 of file pcp_logger.h.
#define PCP_LOG | ( | level, | |
fmt, | |||
... | |||
) |
Definition at line 71 of file pcp_logger.h.
#define PCP_LOG_BEGIN | ( | level | ) |
Definition at line 75 of file pcp_logger.h.
#define PCP_LOG_DEBUG | ( | fmt, | |
... | |||
) | PCP_LOG(PCP_LOGLVL_DEBUG, fmt, __VA_ARGS__) |
Definition at line 79 of file pcp_logger.h.
#define PCP_LOG_END | ( | level | ) |
Definition at line 73 of file pcp_logger.h.
#define PCP_LOG_FLOW | ( | f, | |
msg | |||
) |
Definition at line 85 of file pcp_logger.h.
#define PCP_MAX_LOG_LEVEL PCP_LOGLVL_INFO |
Definition at line 68 of file pcp_logger.h.
void pcp_logger | ( | pcp_loglvl_e | log_level, |
const char * | fmt, | ||
... | |||
) |
void pcp_logger_init | ( | void | ) |
void pcp_strerror | ( | int | errnum, |
char * | buf, | ||
size_t | buflen | ||
) |