diff options
Diffstat (limited to 'core/logger.c')
| -rw-r--r-- | core/logger.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/logger.c b/core/logger.c index 7d5b69e..2c8746f 100644 --- a/core/logger.c +++ b/core/logger.c @@ -81,7 +81,7 @@ void log_msg(enum LogLevel level, bool colored, const char *format, va_list args printf("\r%s\n", buff); } -void log_info(const char *format, ...) { +void log_info_default(const char *format, ...) { assert(format); va_list args; @@ -90,7 +90,7 @@ void log_info(const char *format, ...) { va_end(args); } -void log_warn(const char *format, ...) { +void log_warn_default(const char *format, ...) { assert(format); va_list args; @@ -100,5 +100,5 @@ void log_warn(const char *format, ...) { } // Client may install their own loggers -void (*g_info)(const char *fmt, ...) = log_info; -void (*g_warn)(const char *fmt, ...) = log_warn; +void (*log_info)(const char *fmt, ...) = log_info_default; +void (*log_warn)(const char *fmt, ...) = log_warn_default; |
