mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-01 16:05:07 +01:00
Replace ##__VA_ARGS__ with __VA_ARGS__
This commit is contained in:
parent
c892cea029
commit
e6ee1020e1
@ -147,25 +147,25 @@ void FmtLogMessage(Class log_class, Level log_level, const char* filename, unsig
|
|||||||
|
|
||||||
// Define the fmt lib macros
|
// Define the fmt lib macros
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
#define NGLOG_TRACE(log_class, fmt, ...) \
|
#define NGLOG_TRACE(log_class, ...) \
|
||||||
::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Trace, __FILE__, __LINE__, \
|
::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Trace, __FILE__, __LINE__, \
|
||||||
__func__, fmt, ##__VA_ARGS__)
|
__func__, __VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
#define NGLOG_TRACE(log_class, fmt, ...) (void(0))
|
#define NGLOG_TRACE(log_class, fmt, ...) (void(0))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define NGLOG_DEBUG(log_class, fmt, ...) \
|
#define NGLOG_DEBUG(log_class, ...) \
|
||||||
::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Debug, __FILE__, __LINE__, \
|
::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Debug, __FILE__, __LINE__, \
|
||||||
__func__, fmt, ##__VA_ARGS__)
|
__func__, __VA_ARGS__)
|
||||||
#define NGLOG_INFO(log_class, fmt, ...) \
|
#define NGLOG_INFO(log_class, ...) \
|
||||||
::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Info, __FILE__, __LINE__, \
|
::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Info, __FILE__, __LINE__, \
|
||||||
__func__, fmt, ##__VA_ARGS__)
|
__func__, __VA_ARGS__)
|
||||||
#define NGLOG_WARNING(log_class, fmt, ...) \
|
#define NGLOG_WARNING(log_class, ...) \
|
||||||
::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Warning, __FILE__, __LINE__, \
|
::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Warning, __FILE__, __LINE__, \
|
||||||
__func__, fmt, ##__VA_ARGS__)
|
__func__, __VA_ARGS__)
|
||||||
#define NGLOG_ERROR(log_class, fmt, ...) \
|
#define NGLOG_ERROR(log_class, ...) \
|
||||||
::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Error, __FILE__, __LINE__, \
|
::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Error, __FILE__, __LINE__, \
|
||||||
__func__, fmt, ##__VA_ARGS__)
|
__func__, __VA_ARGS__)
|
||||||
#define NGLOG_CRITICAL(log_class, fmt, ...) \
|
#define NGLOG_CRITICAL(log_class, ...) \
|
||||||
::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Critical, __FILE__, __LINE__, \
|
::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Critical, __FILE__, __LINE__, \
|
||||||
__func__, fmt, ##__VA_ARGS__)
|
__func__, __VA_ARGS__)
|
||||||
|
Loading…
Reference in New Issue
Block a user