added printf syntax support for even faster compilation!

This commit is contained in:
gabime
2019-03-24 00:30:08 +02:00
parent 019eda5b0c
commit ea3943a87a
4 changed files with 121 additions and 46 deletions

View File

@@ -5,7 +5,9 @@ int main()
using namespace spdlog;
auto l = spdlog::create_lite();
l.set_level(spdlog::lite::level::trace);
lite::default_logger().set_level(l.get_level());
lite::trace("hello");
lite::trace("hello {}", std::string("again"));
l.trace_f("Hello %s ","GABI");
l.info_f("Hello %d", 12346);
}