mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-16 00:45:48 +08:00
11 lines
275 B
C++
11 lines
275 B
C++
#include "spdlite.h"
|
|
|
|
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"));
|
|
} |