Livox SDK API  V2.2.0
daily_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 <chrono>
#include <cstdio>
#include <ctime>
#include <mutex>
#include <string>

Go to the source code of this file.

Classes

struct  spdlog::sinks::daily_filename_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 >
 

Functions

template<typename Factory = default_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)
 
template<typename Factory = default_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)