36 using formatter_ptr = std::shared_ptr<::logger::formatter>;
37 using level_t = std::atomic<int>;
38 using logger_ptr = std::shared_ptr<::logger::logger>;
39 using log_clock = std::chrono::system_clock;
40 using sink_ptr = std::shared_ptr<sinks::sink>;
58 static const char* level_names[] {
"trace",
"debug",
"info",
"warning",
"error",
"fatal",
"off" };
60 inline const char* to_str(logging::level::level_enum l) {
61 return level_names[l];