mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 07:25:26 +00: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 "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/FS/vfsFile.h"
|
||||
|
|
@ -51,7 +51,7 @@ bool TRPLoader::LoadHeader(bool show)
|
|||
return false;
|
||||
|
||||
if (show)
|
||||
ConLog.Write("TRP version: %x", m_header.trp_version);
|
||||
LOGF_NOTICE(LOADER, "TRP version: %x", m_header.trp_version);
|
||||
|
||||
m_entries.clear();
|
||||
m_entries.resize(m_header.trp_files_count);
|
||||
|
|
@ -62,7 +62,7 @@ bool TRPLoader::LoadHeader(bool show)
|
|||
return false;
|
||||
|
||||
if (show)
|
||||
ConLog.Write("TRP entry #%d: %s", m_entries[i].name);
|
||||
LOGF_NOTICE(LOADER, "TRP entry #%d: %s", m_entries[i].name);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue