diff --git a/f_helper.h b/f_helper.h index 5511ebf..8ac6eb1 100644 --- a/f_helper.h +++ b/f_helper.h @@ -8,7 +8,7 @@ #include #include "base/logger.h" - +#include "base/time.h" class FHelper { protected: @@ -52,7 +52,7 @@ class FHelper va_start(args, fmt); CLogMessage Msg; Msg.m_Level = LEVEL_INFO; - str_timestamp_format(Msg.m_aTimestamp, sizeof(Msg.m_aTimestamp), FORMAT_SPACE); + str_timestamp_format(Msg.m_aTimestamp, sizeof(Msg.m_aTimestamp), TimestampFormat::SPACE); Msg.m_TimestampLength = str_length(Msg.m_aTimestamp); str_copy(Msg.m_aSystem, sys); Msg.m_SystemLength = str_length(Msg.m_aSystem);