mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 09:09:35 +08:00
added printf syntax support for even faster compilation!
This commit is contained in:
@@ -3,9 +3,10 @@
|
||||
|
||||
int main()
|
||||
{
|
||||
// auto l = spdlog::create_lite();
|
||||
// spdlog::lite::info("HELLO info {}", 123);
|
||||
using namespace spdlog;
|
||||
auto l = spdlog::default_logger();
|
||||
l->set_level(spdlog::level::trace);
|
||||
|
||||
l->trace("hello123123213 ");
|
||||
|
||||
SPDLOG_TRACE("SOME MACRO {}", 123);
|
||||
SPDLOG_INFO("SOME MACRO {}", "HHHHH");
|
||||
}
|
Reference in New Issue
Block a user