|
|
@ -4,18 +4,18 @@
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#pragma once
|
|
|
|
#include "spdlog/spdlog.h"
|
|
|
|
|
|
|
|
#include "spdlog/details/file_helper.h"
|
|
|
|
#include "spdlog/details/file_helper.h"
|
|
|
|
#include "spdlog/details/null_mutex.h"
|
|
|
|
#include "spdlog/details/null_mutex.h"
|
|
|
|
#include "spdlog/fmt/fmt.h"
|
|
|
|
#include "spdlog/fmt/fmt.h"
|
|
|
|
#include "spdlog/sinks/base_sink.h"
|
|
|
|
#include "spdlog/sinks/base_sink.h"
|
|
|
|
|
|
|
|
#include "spdlog/spdlog.h"
|
|
|
|
|
|
|
|
|
|
|
|
#include <cerrno>
|
|
|
|
#include <cerrno>
|
|
|
|
#include <chrono>
|
|
|
|
#include <chrono>
|
|
|
|
#include <tuple>
|
|
|
|
|
|
|
|
#include <ctime>
|
|
|
|
#include <ctime>
|
|
|
|
#include <mutex>
|
|
|
|
#include <mutex>
|
|
|
|
#include <string>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include <tuple>
|
|
|
|
|
|
|
|
|
|
|
|
namespace spdlog {
|
|
|
|
namespace spdlog {
|
|
|
|
namespace sinks {
|
|
|
|
namespace sinks {
|
|
|
@ -117,7 +117,6 @@ using rotating_file_sink_st = rotating_file_sink<details::null_mutex>;
|
|
|
|
// factory functions
|
|
|
|
// factory functions
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
template<typename Factory = default_factory>
|
|
|
|
template<typename Factory = default_factory>
|
|
|
|
inline std::shared_ptr<logger> rotating_logger_mt(
|
|
|
|
inline std::shared_ptr<logger> rotating_logger_mt(
|
|
|
|
const std::string &logger_name, const filename_t &filename, size_t max_file_size, size_t max_files)
|
|
|
|
const std::string &logger_name, const filename_t &filename, size_t max_file_size, size_t max_files)
|
|
|
|