2019-03-23 11:25:50 -04:00
|
|
|
#include "spdlite.h"
|
2019-03-23 07:31:57 -04:00
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
2019-03-23 19:18:05 -04:00
|
|
|
auto l = spdlog::create_lite((void*)"async");
|
2019-03-23 17:13:38 -04:00
|
|
|
l.set_level(spdlog::lite::level::trace);
|
2019-03-23 18:30:08 -04:00
|
|
|
|
2019-03-23 18:41:22 -04:00
|
|
|
l.trace_f("Hello %s ", "GABI");
|
2019-03-23 18:30:08 -04:00
|
|
|
l.info_f("Hello %d", 12346);
|
2019-03-23 18:38:00 -04:00
|
|
|
l.warn_f("Hello %f", 12346.5656);
|
|
|
|
l.warn("Hello {}", 12346.5656);
|
2019-03-23 07:31:57 -04:00
|
|
|
}
|