these macros are to be used in the code
◆ LOG_CRITICAL
#define LOG_CRITICAL |
( |
|
fmt, |
|
|
|
... |
|
) |
| |
Value:{ \
Log::logger()->critical("[{:5d}] [{}():{}] " fmt,spdlog::details::os::thread_id(), __FUNCTION__, __LINE__, ##__VA_ARGS__); \
}
◆ LOG_DEBUG
#define LOG_DEBUG |
( |
|
fmt, |
|
|
|
... |
|
) |
| |
Value:{ \
Log::logger()->debug("[{:5d}] [{}():{}] " fmt,spdlog::details::os::thread_id(), __FUNCTION__, __LINE__, ##__VA_ARGS__); \
}
◆ LOG_ERROR
#define LOG_ERROR |
( |
|
fmt, |
|
|
|
... |
|
) |
| |
Value:{ \
Log::logger()->error("[{:5d}] [{}():{}] " fmt,spdlog::details::os::thread_id(), __FUNCTION__, __LINE__, ##__VA_ARGS__); \
}
◆ LOG_INFO
#define LOG_INFO |
( |
|
fmt, |
|
|
|
... |
|
) |
| |
Value:{ \
Log::logger()->info("[{:5d}] [{}():{}] " fmt,spdlog::details::os::thread_id(), __FUNCTION__, __LINE__, ##__VA_ARGS__); \
}
◆ LOG_TRACE
#define LOG_TRACE |
( |
|
fmt, |
|
|
|
... |
|
) |
| |
Value:{ \
Log::logger()->trace("[{:5d}] [{}():{}] " fmt,spdlog::details::os::thread_id(), __FUNCTION__, __LINE__, ##__VA_ARGS__); \
}
◆ LOG_WARNING
#define LOG_WARNING |
( |
|
fmt, |
|
|
|
... |
|
) |
| |
Value:{ \
Log::logger()->warn("[{:5d}] [{}():{}] " fmt,spdlog::details::os::thread_id(), __FUNCTION__, __LINE__, ##__VA_ARGS__); \
}