logging: allow logging to file instead of syslog

This commit is contained in:
Miroslav Lichvar
2017-05-24 15:38:43 +02:00
parent 3a5566c6c3
commit 6cbeb107db
2 changed files with 25 additions and 3 deletions

View File

@@ -99,6 +99,9 @@ extern void LOG_Message(LOG_Severity severity, const char *format, ...);
*/
extern void LOG_SetDebugLevel(int level);
/* Log messages to a file instead of stderr */
extern void LOG_OpenFileLog(const char *log_file);
/* Log messages to syslog instead of stderr */
extern void LOG_OpenSystemLog(void);