| 10 | IRCLog* g_pLog = NULL; |
| 11 | |
| 12 | void LogWarning (const char* szFormat, ...) |
| 13 | { |
| 14 | va_list args; |
| 15 | va_start (args, szFormat); |
| 16 | if (g_pLog) |
| 17 | g_pLog->LogV (IMiniLog::eWarning, szFormat, args); |
| 18 | else |
| 19 | vprintf (szFormat, args); |
| 20 | va_end(args); |
| 21 | } |
| 22 | void Log (const char* szFormat, ...) |
| 23 | { |
| 24 | va_list args; |
no test coverage detected