mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-16 00:45:48 +08:00
13 lines
288 B
C++
13 lines
288 B
C++
#include "spdlite.h"
|
|
|
|
int main()
|
|
{
|
|
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);
|
|
l.warn_f("Hello %f", 12346.5656);
|
|
l.warn("Hello {}", 12346.5656);
|
|
} |