Classes | Namespaces | Typedefs | Functions
basic_file_sink.h File Reference
#include "spdlog/spdlog.h"
#include "spdlog/details/file_helper.h"
#include "spdlog/details/null_mutex.h"
#include "spdlog/sinks/base_sink.h"
#include <mutex>
#include <string>

Go to the source code of this file.

Classes

class  spdlog::sinks::basic_file_sink< Mutex >
 

Namespaces

 spdlog
 
 spdlog::sinks
 

Typedefs

using spdlog::sinks::basic_file_sink_mt = basic_file_sink< std::mutex >
 
using spdlog::sinks::basic_file_sink_st = basic_file_sink< details::null_mutex >
 

Functions

template<typename Factory = default_factory>
std::shared_ptr< logger > spdlog::basic_logger_mt (const std::string &logger_name, const filename_t &filename, bool truncate=false)
 
template<typename Factory = default_factory>
std::shared_ptr< logger > spdlog::basic_logger_st (const std::string &logger_name, const filename_t &filename, bool truncate=false)