MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / Log

Method Log

src/plugin/log/interface/AFILogModule.hpp:57–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55public:
56 template<typename... ARGS>
57 void Log(spdlog::source_loc&& loc, spdlog::level::level_enum log_level, const char* my_fmt, const ARGS&... args)
58 {
59 const std::shared_ptr<spdlog::async_logger>& logger = GetDevLogger();
60
61 if (logger == nullptr)
62 {
63 return;
64 }
65
66 logger->log(loc, log_level, my_fmt, args...);
67 }
68
69 virtual std::shared_ptr<spdlog::async_logger> GetDevLogger() = 0;
70 //////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected