| 55 | public: |
| 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 | ////////////////////////////////////////////////////////////////////////// |
nothing calls this directly
no outgoing calls
no test coverage detected