Debian Codegraph @

mtxclient/lib/log.cpp

raw symbols SCIP
1 #include <mtx/log.hpp>
2
3 #include "spdlog/sinks/stdout_color_sinks.h"
4
5 namespace mtx::utils::log {
6 std::shared_ptr<spdlog::logger>
7 log()
8 {
9 static auto mtx_logger = std::make_shared<spdlog::logger>(
10 "mtx", std::make_shared<spdlog::sinks::stderr_color_sink_mt>());
11
12 return mtx_logger;
13 }
14 }