Function daily_logger_format_st

Synopsis

#include <include/spdlog/sinks/daily_file_sink.h>

template <typename Factory = spdlog::synchronous_factory>
std::shared_ptr< logger > daily_logger_format_st(const std::string &logger_name, const filename_t &filename, int hour=0, int minute=0, bool truncate=false, uint16_t max_files=0)

Description

No description yet.

Source

Lines 232-237 in include/spdlog/sinks/daily_file_sink.h.

template<typename Factory = spdlog::synchronous_factory>
inline std::shared_ptr<logger> daily_logger_format_st(
    const std::string &logger_name, const filename_t &filename, int hour = 0, int minute = 0, bool truncate = false, uint16_t max_files = 0)
{
    return Factory::template create<sinks::daily_file_format_sink_st>(logger_name, filename, hour, minute, truncate, max_files);
}





Add Discussion

Log in to comment