diff options
Diffstat (limited to 'xxx/lib/logger/log.h')
| -rw-r--r-- | xxx/lib/logger/log.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/xxx/lib/logger/log.h b/xxx/lib/logger/log.h new file mode 100644 index 0000000..da27340 --- /dev/null +++ b/xxx/lib/logger/log.h @@ -0,0 +1,14 @@ +#ifndef FOOLOS_LOG_H +#define FOOLOS_LOG_H + +#define FOOLOS_LOG_ERROR 5 +#define FOOLOS_LOG_WARNING 4 +#define FOOLOS_LOG_INFO 3 +#define FOOLOS_LOG_DEBUG 2 +#define FOOLOS_LOG_FINE 1 + +void log(char *module_name, int prio, char *format_string, ...); +void panic(char *module_name, char *format_string); +void log_log(); + +#endif |
