Classes | Namespaces | Typedefs | Functions
rotating_file_sink.h File Reference
#include "spdlog/spdlog.h"
#include "spdlog/details/file_helper.h"
#include "spdlog/details/null_mutex.h"
#include "spdlog/fmt/fmt.h"
#include "spdlog/sinks/base_sink.h"
#include <cerrno>
#include <chrono>
#include <ctime>
#include <mutex>
#include <string>
#include <tuple>

Go to the source code of this file.

Classes

class  spdlog::sinks::rotating_file_sink< Mutex >
 

Namespaces

 spdlog
 
 spdlog::sinks
 

Typedefs

using spdlog::sinks::rotating_file_sink_mt = rotating_file_sink< std::mutex >
 
using spdlog::sinks::rotating_file_sink_st = rotating_file_sink< details::null_mutex >
 

Functions

template<typename Factory = default_factory>
std::shared_ptr< logger > spdlog::rotating_logger_mt (const std::string &logger_name, const filename_t &filename, size_t max_file_size, size_t max_files)
 
template<typename Factory = default_factory>
std::shared_ptr< logger > spdlog::rotating_logger_st (const std::string &logger_name, const filename_t &filename, size_t max_file_size, size_t max_files)