rpcsx/rpcs3/Emu/SysCalls/LogBase.cpp
2014-08-23 04:16:54 +04:00

25 lines
465 B
C++

#include "stdafx.h"
#include "rpcs3/Ini.h"
#include "Utilities/Log.h"
#include "Emu/System.h"
#include "LogBase.h"
bool LogBase::CheckLogging() const
{
return Ini.HLELogging.GetValue();
}
void LogBase::LogNotice(const std::string& text)
{
LOG_NOTICE(HLE, "%s", text.c_str());
}
void LogBase::LogWarning(const std::string& text)
{
LOG_WARNING(HLE, "%s", text.c_str());
}
void LogBase::LogError(const std::string& text)
{
LOG_ERROR(HLE, "%s", text.c_str());
}