mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 02:21:34 +08:00
renamed printf
This commit is contained in:
parent
775a411215
commit
c4291510e8
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
auto l = spdlog::create_lite((void*)"async");
|
auto l = spdlog::create_lite();
|
||||||
l.set_level(spdlog::lite::level::trace);
|
l.set_level(spdlog::lite::level::trace);
|
||||||
|
|
||||||
l.trace_printf("Hello %s ", "GABI");
|
l.trace_printf("Hello %s ", "GABI");
|
||||||
l.info_printf("Hello %d", 12346);
|
l.info_printf("Hello %d", 12346);
|
||||||
l.warn_printf("Hello %f", 12346.5656);
|
l.warn_printf("Hello %f", 12346.5656);
|
||||||
l.warn("Hello {}", 12346.5656);
|
l.warn("Hello {}", "LITE :) ");
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user