- fix build problem

This commit is contained in:
Dmytro Bogovych 2024-12-16 10:14:15 +03:00
parent 0e044faf16
commit fe52356799
1 changed files with 11 additions and 11 deletions

View File

@ -148,21 +148,21 @@ extern Logger GLogger;
#define ICELog(level_, subsystem_, args_)\ #define ICELog(level_, subsystem_, args_)\
{do\ {do\
{\ {\
if (GLogger.level() >= level_)\ if (ice::GLogger.level() >= level_)\
{\ {\
LogLock log_lock(GLogger.mutex());\ ice::LogLock log_lock(ice::GLogger.mutex());\
GLogger.beginLine(level_, __FILE__, __LINE__, subsystem_);\ ice::GLogger.beginLine(level_, __FILE__, __LINE__, subsystem_);\
GLogger args_;\ ice::GLogger args_;\
GLogger.endLine();\ ice::GLogger.endLine();\
}\ }\
} while (false);} } while (false);}
#define ICELogCritical(args_) ICELog(LL_CRITICAL, LOG_SUBSYSTEM, args_) #define ICELogCritical(args_) ICELog(ice::LL_CRITICAL, LOG_SUBSYSTEM, args_)
#define ICELogInfo(args_) ICELog(LL_INFO, LOG_SUBSYSTEM, args_) #define ICELogInfo(args_) ICELog(ice::LL_INFO, LOG_SUBSYSTEM, args_)
#define ICELogDebug(args_) ICELog(LL_DEBUG, LOG_SUBSYSTEM, args_) #define ICELogDebug(args_) ICELog(ice::LL_DEBUG, LOG_SUBSYSTEM, args_)
#define ICELogMedia(args_) ICELog(LL_MEDIA, LOG_SUBSYSTEM, args_) #define ICELogMedia(args_) ICELog(ice::LL_MEDIA, LOG_SUBSYSTEM, args_)
#define ICELogError(args_) ICELog(LL_ERROR, LOG_SUBSYSTEM, args_) #define ICELogError(args_) ICELog(ice::LL_ERROR, LOG_SUBSYSTEM, args_)
#define ICELogSpecial(args_) ICELog(LL_SPECIAL, LOG_SUBSYSTEM, args_) #define ICELogSpecial(args_) ICELog(ice::LL_SPECIAL, LOG_SUBSYSTEM, args_)
/* /*
#define ICELogCritical2(args_) ICELog(LogLevel_Critical, LogSubsystem.c_str(), args_) #define ICELogCritical2(args_) ICELog(LogLevel_Critical, LogSubsystem.c_str(), args_)