spdlog/lite-example/example.cpp

13 lines
216 B
C++
Raw Normal View History

2019-03-23 23:25:50 +08:00
#include "spdlite.h"
2019-03-23 19:31:57 +08:00
int main()
{
2019-03-24 05:13:38 +08:00
using namespace spdlog;
auto l = spdlog::create_lite();
l.set_level(spdlog::lite::level::trace);
l.trace_f("Hello %s ","GABI");
l.info_f("Hello %d", 12346);
2019-03-23 19:31:57 +08:00
}