From f831a08224a4ea7d6e5756cbc5ca5d66a547e74e Mon Sep 17 00:00:00 2001 From: NarcolepticK Date: Fri, 22 Jun 2018 18:48:25 -0400 Subject: [PATCH] logging: Added NGLOG_GENERIC (needed for vm_manager) --- src/common/logging/log.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/logging/log.h b/src/common/logging/log.h index 4ce19e3f6d..83851e5ca5 100644 --- a/src/common/logging/log.h +++ b/src/common/logging/log.h @@ -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__, \