31 parameters::log_path,
false);
33 m_ConsoleSink->set_level(spdlog::level::trace);
34 m_FileSink->set_level(spdlog::level::trace);
36 m_ConsoleSink->set_pattern(
"[%H:%M:%S.%e] [%^%l%$] [t:%t] [%s:%#] %v");
37 m_FileSink->set_pattern(
"[%Y-%m-%d %H:%M:%S.%e] [%^%l%$] [%s:%#] %v");
39 m_Sinks.emplace_back(m_ConsoleSink);
40 m_Sinks.emplace_back(m_FileSink);
44 m_Logger->set_level(spdlog::level::trace);
48 spdlog::register_logger(m_Logger);
49 spdlog::set_default_logger(m_Logger);