Remove log.cpp

This commit is contained in:
dijunkun
2024-07-17 14:44:18 +08:00
parent 28fb35faf5
commit 792a286899
4 changed files with 5 additions and 23 deletions

View File

@@ -1,6 +0,0 @@
#include "log.h"
int LogDummy()
{
return 0;
}

View File

@@ -18,20 +18,7 @@ using namespace std::chrono;
#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_INFO
// SPDLOG_TRACE(...)
// SPDLOG_DEBUG(...)
// SPDLOG_INFO(...)
// SPDLOG_WARN(...)
// SPDLOG_ERROR(...)
// SPDLOG_CRITICAL(...)
#ifdef SIGNAL_LOGGER
constexpr auto LOGGER_NAME = "siganl";
#else
constexpr auto LOGGER_NAME = "rtc";
#endif
int LogDummy();
constexpr auto LOGGER_NAME = "rt";
#define LOG_INFO(...) \
if (nullptr == spdlog::get(LOGGER_NAME)) { \