diff --git a/src/ulib/log/log.h b/src/ulib/log/log.h index a2d564c..8da6eee 100644 --- a/src/ulib/log/log.h +++ b/src/ulib/log/log.h @@ -9,8 +9,8 @@ namespace tqcq { -#define _ULOG(level, ...) tqcq::Logger::GetInstance().Log(level, __FILE__, __FUNCTION__, __LINE__, __VA_ARGS__) -#define ULOG_SET_STRIPPED_PREFIX_LEN(len) tqcq::Logger::GetInstance().SetStrippedPrefixLen(len) +#define _ULOG(level, ...) ::tqcq::Logger::GetInstance().Log(level, __FILE__, __FUNCTION__, __LINE__, __VA_ARGS__) +#define ULOG_SET_STRIPPED_PREFIX_LEN(len) ::tqcq::Logger::GetInstance().SetStrippedPrefixLen(len) #if ULOG_LEVEL >= ULOG_LEVEL_TRACE # define ULOG_TRACE(...) _ULOG(ULOG_LEVEL_TRACE, __VA_ARGS__)