mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-16 00:45:48 +08:00
14 lines
288 B
C++
14 lines
288 B
C++
#include "spdlite.h"
|
|
#include "spdlog/spdlog.h"
|
|
|
|
spdlog::lite::logger spdlog::create_lite(void *ctx)
|
|
{
|
|
if (ctx)
|
|
{
|
|
//..
|
|
}
|
|
auto logger_impl = spdlog::default_logger();
|
|
logger_impl->set_level(spdlog::level::trace);
|
|
return spdlog::lite::logger(logger_impl);
|
|
}
|