4 * logging.c - Debug/Logging Routines
14 bool gbSyslogEnabled = true;
17 void Log_Error(const char *Format, ...)
21 va_start(args, Format);
24 vsyslog(LOG_WARNING, Format, args);
28 fprintf(stderr, "WARNING: ");
29 vfprintf(stderr, Format, args);
30 fprintf(stderr, "\n");
35 void Log_Info(const char *Format, ...)
39 va_start(args, Format);
42 vsyslog(LOG_INFO, Format, args);
46 fprintf(stderr, "WARNING: ");
47 vfprintf(stderr, Format, args);
48 fprintf(stderr, "\n");