citra-emu
/
citra-canary
Archived
1
0
Fork 0

logging: Added NGLOG_GENERIC (needed for vm_manager)

This commit is contained in:
NarcolepticK 2018-06-22 18:48:25 -04:00
parent f50e505a5a
commit f831a08224
1 changed files with 3 additions and 0 deletions

View File

@ -147,6 +147,9 @@ void FmtLogMessage(Class log_class, Level log_level, const char* filename, unsig
LOG_GENERIC(::Log::Class::log_class, ::Log::Level::Critical, __VA_ARGS__)
// Define the fmt lib macros
#define NGLOG_GENERIC(log_class, log_level, ...) \
::Log::FmtLogMessage(log_class, log_level, __FILE__, __LINE__, __func__, __VA_ARGS__)
#ifdef _DEBUG
#define NGLOG_TRACE(log_class, ...) \
::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Trace, __FILE__, __LINE__, \