mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge branch 'master' of https://github.com/susnux/toxcore into susnux-master
This commit is contained in:
commit
c510e2407f
|
@ -75,6 +75,8 @@ int level_syslog(LOG_LEVEL level)
|
|||
case LOG_LEVEL_ERROR:
|
||||
return LOG_ERR;
|
||||
}
|
||||
|
||||
return LOG_INFO;
|
||||
}
|
||||
|
||||
void log_syslog(LOG_LEVEL level, const char *format, va_list args)
|
||||
|
@ -92,6 +94,8 @@ FILE *level_stdout(LOG_LEVEL level)
|
|||
case LOG_LEVEL_ERROR:
|
||||
return stderr;
|
||||
}
|
||||
|
||||
return stdout;
|
||||
}
|
||||
|
||||
void log_stdout(LOG_LEVEL level, const char *format, va_list args)
|
||||
|
|
Loading…
Reference in New Issue
Block a user