spdlog/example/example.cpp

11 lines
261 B
C++
Raw Normal View History

2019-03-24 01:34:50 +08:00
#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_TRACE
2018-07-07 17:53:56 +08:00
#include "spdlog/spdlog.h"
2019-03-23 22:15:58 +08:00
int main()
2016-04-20 16:57:49 +08:00
{
2019-03-24 01:34:50 +08:00
// auto l = spdlog::create_lite();
// spdlog::lite::info("HELLO info {}", 123);
SPDLOG_TRACE("SOME MACRO {}", 123);
SPDLOG_INFO("SOME MACRO {}", "HHHHH");
2019-03-23 22:15:58 +08:00
}