spdlog/example/example.cpp

12 lines
231 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
{
using namespace spdlog;
auto l = spdlog::default_logger();
l->set_level(spdlog::level::trace);
l->trace("hello123123213 ");
2019-03-24 01:34:50 +08:00
2019-03-23 22:15:58 +08:00
}