printf_log_nonewline("[%s] ", log_token);
}
-static void Log(int log_level, char *mode, char *format, va_list ap)
+static void vLog(int log_level, char *mode, char *format, va_list ap)
{
if (log_level < 0 || log_level > LOG_FATAL)
return;
va_list ap;
va_start(ap, format);
- Log(LOG_DEBUG, mode, format, ap);
+ vLog(LOG_DEBUG, mode, format, ap);
va_end(ap);
}
va_list ap;
va_start(ap, format);
- Log(LOG_INFO, NULL, format, ap);
+ vLog(LOG_INFO, NULL, format, ap);
va_end(ap);
}
va_list ap;
va_start(ap, format);
- Log(LOG_WARN, NULL, format, ap);
+ vLog(LOG_WARN, NULL, format, ap);
va_end(ap);
}