forked from github/server
rename _log_debug to log_debug and get rid of the cumbersome #define
This commit is contained in:
parent
ecbe770fce
commit
ff5dc2534e
2 changed files with 2 additions and 4 deletions
|
@ -168,7 +168,7 @@ static void _log_write(FILE * stream, int codepage, const char * prefix, const c
|
|||
}
|
||||
}
|
||||
|
||||
void _log_debug(const char *format, ...)
|
||||
void log_debug(const char *format, ...)
|
||||
{
|
||||
const char * prefix = "DEBUG";
|
||||
const int mask = LOG_CPDEBUG;
|
||||
|
|
|
@ -19,12 +19,10 @@ extern "C" {
|
|||
extern void log_close(void);
|
||||
extern void log_flush(void);
|
||||
|
||||
#define log_debug _log_debug
|
||||
|
||||
/* use macros above instead of these: */
|
||||
extern void log_warning(const char *format, ...);
|
||||
extern void log_error(const char *format, ...);
|
||||
extern void _log_debug(const char *format, ...);
|
||||
extern void log_debug(const char *format, ...);
|
||||
extern void log_info(const char *format, ...);
|
||||
extern void log_printf(FILE * ios, const char *format, ...);
|
||||
|
||||
|
|
Loading…
Reference in a new issue