Simplify GenericLog() for C/C++.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6391 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2010-11-13 00:10:00 +00:00
parent 3d866bd35d
commit 146ddff550
2 changed files with 9 additions and 18 deletions

View File

@ -23,18 +23,6 @@
#include "Thread.h"
#include "FileUtil.h"
void GenericLogC(int level, int type,
const char *file, int line, const char* fmt, ...)
{
va_list args;
va_start(args, fmt);
if (LogManager::GetInstance())
LogManager::GetInstance()->Log(
(LogTypes::LOG_LEVELS)level, (LogTypes::LOG_TYPE)type,
file, line, fmt, args);
va_end(args);
}
void GenericLog(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type,
const char *file, int line, const char* fmt, ...)
{