Merge branch 'master' of https://github.com/susnux/toxcore into susnux-master

This commit is contained in:
irungentoo 2016-03-01 15:17:00 -05:00
commit c510e2407f
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -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)