src/library/base/logger.h
@@ -1,11 +1,13 @@ #ifndef logger_INCLUDED #define logger_INCLUDED #ifndef LOG_ENABLED #include <errno.h> #ifdef __cplusplus extern "C" { #endif #define LOG_DISABLED 1 #ifndef LOG_DISABLED #include <errno.h> #include <string.h> #define clean_errno() (errno == 0 ? "None" : strerror(errno)) @@ -25,7 +27,7 @@ #define LOG_ERROR(M, ...) #endif void _log(char* format, ...); void _log(const char* format, ...); void _shutdown_log(); #ifdef __cplusplus