rpcs3/rpcs3/Emu/SysCalls/LogBase.cpp

25 lines
465 B
C++
Raw Normal View History

2014-08-22 16:58:50 +02:00
#include "stdafx.h"
2014-08-23 02:16:54 +02:00
#include "rpcs3/Ini.h"
2014-08-22 16:58:50 +02:00
#include "Utilities/Log.h"
2014-08-22 23:15:02 +02:00
#include "Emu/System.h"
2014-08-22 16:58:50 +02:00
#include "LogBase.h"
2014-08-22 23:15:02 +02:00
bool LogBase::CheckLogging() const
{
return Ini.HLELogging.GetValue();
}
2014-08-22 16:58:50 +02:00
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());
}