|
|
|
@ -39,7 +39,7 @@ using basic_file_sink_st = basic_file_sink<details::null_mutex>;
|
|
|
|
|
// factory functions
|
|
|
|
|
//
|
|
|
|
|
template <typename Factory = spdlog::synchronous_factory>
|
|
|
|
|
inline std::shared_ptr<logger> basic_logger_mt(const std::string &logger_name,
|
|
|
|
|
std::shared_ptr<logger> basic_logger_mt(const std::string &logger_name,
|
|
|
|
|
const filename_t &filename,
|
|
|
|
|
bool truncate = false,
|
|
|
|
|
const file_event_handlers &event_handlers = {}) {
|
|
|
|
@ -47,7 +47,7 @@ inline std::shared_ptr<logger> basic_logger_mt(const std::string &logger_name,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
template <typename Factory = spdlog::synchronous_factory>
|
|
|
|
|
inline std::shared_ptr<logger> basic_logger_st(const std::string &logger_name,
|
|
|
|
|
std::shared_ptr<logger> basic_logger_st(const std::string &logger_name,
|
|
|
|
|
const filename_t &filename,
|
|
|
|
|
bool truncate = false,
|
|
|
|
|
const file_event_handlers &event_handlers = {}) {
|
|
|
|
|