mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
Logging system rework
* use one central unified log with channels/priorities ad-hoc listener registration and de-registration * disable buffering by default * add multi-threaded ringbuffer implementation * use buffered listener for the gui (using the ringbuffer)
This commit is contained in:
parent
394b698e92
commit
21da317453
165 changed files with 1731 additions and 1519 deletions
|
@ -1,5 +1,5 @@
|
|||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Utilities/Log.h"
|
||||
#include "Loader.h"
|
||||
#include "ELF.h"
|
||||
#include "SELF.h"
|
||||
|
@ -142,7 +142,7 @@ bool Loader::Analyze()
|
|||
|
||||
if(!m_loader)
|
||||
{
|
||||
ConLog.Error("Unknown file type");
|
||||
LOG_ERROR(LOADER, "Unknown file type");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -159,7 +159,7 @@ bool Loader::Load()
|
|||
|
||||
if(!m_loader->LoadData(m_loader->GetMachine() == MACHINE_SPU ? g_spu_offset : 0))
|
||||
{
|
||||
ConLog.Error("Broken file");
|
||||
LOG_ERROR(LOADER, "Broken file");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue