diff options
Diffstat (limited to 'log.h')
-rw-r--r-- | log.h | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -1,24 +0,0 @@ -/* See LICENSE file for copyright and license details. */ - -#ifndef __LOG_H__ -#define __LOG_H__ - -typedef struct Log { - const char *filename; - int level; -} Log; - -Log *log_create(const char *); - -void log_debug(Log *, char *); -void log_error(Log *, char *); -void log_info(Log *, char *); -void log_warn(Log *, char *); - -int log_is_debug(Log *); -int log_is_error(Log *); -int log_is_info(Log *); -int log_is_warn(Log *); - - -#endif /* __LOG_H__ */ |