|
|
@ -37,6 +37,10 @@ inline std::shared_ptr<spdlog::logger> spdlog::get(const std::string& name)
|
|
|
|
return details::registry::instance().get(name);
|
|
|
|
return details::registry::instance().get(name);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inline void spdlog::drop(const std::string &name)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
details::registry::instance().drop(name);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Create multi/single threaded rotating file logger
|
|
|
|
// Create multi/single threaded rotating file logger
|
|
|
|
inline std::shared_ptr<spdlog::logger> spdlog::rotating_logger_mt(const std::string& logger_name, const std::string& filename, size_t max_file_size, size_t max_files, bool auto_flush)
|
|
|
|
inline std::shared_ptr<spdlog::logger> spdlog::rotating_logger_mt(const std::string& logger_name, const std::string& filename, size_t max_file_size, size_t max_files, bool auto_flush)
|
|
|
|