|
csnip
0.1
|
Logging. More...
#include <stdio.h>
Go to the source code of this file.
Macros | |
| #define | CSNIP_LOG_PRIO_DEBUGV 0 |
| Verbose debugging priority. More... | |
| #define | CSNIP_LOG_PRIO_DEBUG 10 |
| Debugging priority. More... | |
| #define | CSNIP_LOG_PRIO_INFO 20 |
| Informational priority. | |
| #define | CSNIP_LOG_PRIO_NOTICE 30 |
| Notice. | |
| #define | CSNIP_LOG_PRIO_WARN 40 |
| Warnings. | |
| #define | CSNIP_LOG_PRIO_ERR 50 |
| Errors. | |
| #define | CSNIP_LOG_PRIO_MIN 0 |
| Minimum compiled-in prioriy. More... | |
| #define | csnip_log_Mesg(prio, ...) csnip_log_MesgForComp(CSNIP_LOG_COMPONENT, prio, __VA_ARGS__) |
| Log a message. More... | |
| #define | csnip_log_MesgForComp(comp, prio, ...) |
| Log a message for a specified component. More... | |
| #define | csnip_log_Perror(prio, ...) csnip_log_PerrorForComp(CSNIP_LOG_COMPONENT, prio, __VA_ARGS__) |
| Log an errno error. More... | |
| #define | csnip_log_PerrorForComp(comp, prio, ...) |
| Log an errno error for a specified component. More... | |
Functions | |
| void | csnip_log_config0 (const char *filters_expr, FILE *log_out) |
| Simple logger configuration. More... | |