spdlog/lite-example/example.cpp

11 lines
255 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:15:58 +08:00
//auto l = spdlog::create_lite();
2019-03-23 22:39:05 +08:00
//spdlog::lite::info("HELLO info {}", 123);
SPDLITE_TRACE("SOME MACRO {}", 123);
SPDLITE_INFO("SOME MACRO {}", "HHHHH");
2019-03-23 19:31:57 +08:00
}