Agora  1.2.0
Agora project
daily_file_sink.h File Reference
#include <spdlog/common.h>
#include <spdlog/details/file_helper.h>
#include <spdlog/details/null_mutex.h>
#include <spdlog/fmt/fmt.h>
#include <spdlog/fmt/chrono.h>
#include <spdlog/sinks/base_sink.h>
#include <spdlog/details/os.h>
#include <spdlog/details/circular_q.h>
#include <spdlog/details/synchronous_factory.h>
#include <chrono>
#include <cstdio>
#include <ctime>
#include <mutex>
#include <string>
Include dependency graph for daily_file_sink.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  spdlog::sinks::daily_filename_calculator
 
struct  spdlog::sinks::daily_filename_format_calculator
 
class  spdlog::sinks::daily_file_sink< Mutex, FileNameCalc >
 

Namespaces

 spdlog
 
 spdlog::sinks
 

Typedefs

using spdlog::sinks::daily_file_sink_mt = daily_file_sink< std::mutex >
 
using spdlog::sinks::daily_file_sink_st = daily_file_sink< details::null_mutex >
 
using spdlog::sinks::daily_file_format_sink_mt = daily_file_sink< std::mutex, daily_filename_format_calculator >
 
using spdlog::sinks::daily_file_format_sink_st = daily_file_sink< details::null_mutex, daily_filename_format_calculator >
 

Functions

template<typename Factory = spdlog::synchronous_factory>
std::shared_ptr< logger > spdlog::daily_logger_mt (const std::string &logger_name, const filename_t &filename, int hour=0, int minute=0, bool truncate=false, uint16_t max_files=0, const file_event_handlers &event_handlers={})
 
template<typename Factory = spdlog::synchronous_factory>
std::shared_ptr< logger > spdlog::daily_logger_format_mt (const std::string &logger_name, const filename_t &filename, int hour=0, int minute=0, bool truncate=false, uint16_t max_files=0, const file_event_handlers &event_handlers={})
 
template<typename Factory = spdlog::synchronous_factory>
std::shared_ptr< logger > spdlog::daily_logger_st (const std::string &logger_name, const filename_t &filename, int hour=0, int minute=0, bool truncate=false, uint16_t max_files=0, const file_event_handlers &event_handlers={})
 
template<typename Factory = spdlog::synchronous_factory>
std::shared_ptr< logger > spdlog::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, const file_event_handlers &event_handlers={})