Update easylog.hpp (#690)

This commit is contained in:
Brian 2024-06-09 18:00:23 +08:00 committed by GitHub
parent 7f2568ed24
commit a66d642f02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ inline void add_appender(std::function<void(std::string_view)> fn) {
#endif #endif
#ifndef MELOG_TRACE #ifndef MELOG_TRACE
#define MELOG_TRACE(id) ELOG(INFO, id) #define MELOG_TRACE(id) ELOG(TRACE, id)
#endif #endif
#ifndef MELOG_DEBUG #ifndef MELOG_DEBUG
#define MELOG_DEBUG(id) ELOG(DEBUG, id) #define MELOG_DEBUG(id) ELOG(DEBUG, id)
@ -326,4 +326,4 @@ inline void add_appender(std::function<void(std::string_view)> fn) {
#endif #endif
#ifndef ELOGF #ifndef ELOGF
#define ELOGF ELOG_FATAL #define ELOGF ELOG_FATAL
#endif #endif