spdlog/lite-example/example.cpp

10 lines
256 B
C++
Raw Normal View History

2019-03-23 22:39:05 +08:00
#define SPDLITE_ACTIVE_LEVEL SPDLITE_LEVEL_INFO
2019-03-23 19:31:57 +08:00
#include "logger.h"
int main()
{
2019-03-23 22:39:32 +08:00
// auto l = spdlog::create_lite();
// spdlog::lite::info("HELLO info {}", 123);
2019-03-23 22:39:05 +08:00
SPDLITE_TRACE("SOME MACRO {}", 123);
SPDLITE_INFO("SOME MACRO {}", "HHHHH");
2019-03-23 19:31:57 +08:00
}