Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
spdlog::sinks::SPDLOG_FINAL< Mutex > Class Template Reference

#include <file_sinks.h>

Inheritance diagram for spdlog::sinks::SPDLOG_FINAL< Mutex >:
Inheritance graph
[legend]

Public Member Functions

 daily_file_sink (const filename_t &base_filename, int rotation_hour, int rotation_minute)
 
 rotating_file_sink (const filename_t &base_filename, std::size_t max_size, std::size_t max_files)
 
void set_force_flush (bool force_flush)
 
 simple_file_sink (const filename_t &filename, bool truncate=false)
 
 stderr_sink ()
 
 stdout_sink ()
 
- Public Member Functions inherited from spdlog::sinks::base_sink< Mutex >
 base_sink ()
 
 base_sink (const base_sink &)=delete
 
void flush () SPDLOG_FINAL override
 
void log (const details::log_msg &msg) SPDLOG_FINAL override
 
base_sinkoperator= (const base_sink &)=delete
 
virtual ~base_sink ()=default
 
- Public Member Functions inherited from spdlog::sinks::sink
level::level_enum level () const
 
void set_level (level::level_enum log_level)
 
bool should_log (level::level_enum msg_level) const
 
 sink ()
 
virtual ~sink ()
 

Static Public Member Functions

static std::shared_ptr< MyTypeinstance ()
 
static std::shared_ptr< MyTypeinstance ()
 

Protected Member Functions

void _flush () override
 
void _flush () override
 
void _flush () override
 
void _flush () override
 
void _flush () override
 
void _sink_it (const details::log_msg &msg) override
 
void _sink_it (const details::log_msg &msg) override
 
void _sink_it (const details::log_msg &msg) override
 
void _sink_it (const details::log_msg &msg) override
 
void _sink_it (const details::log_msg &msg) override
 

Private Types

using MyType = stdout_sink< Mutex >
 
using MyType = stderr_sink< Mutex >
 

Private Member Functions

std::chrono::system_clock::time_point _next_rotation_tp ()
 
void _rotate ()
 

Static Private Member Functions

static filename_t calc_filename (const filename_t &filename, std::size_t index)
 

Private Attributes

filename_t _base_filename
 
std::size_t _current_size
 
details::file_helper _file_helper
 
bool _force_flush
 
std::size_t _max_files
 
std::size_t _max_size
 
int _rotation_h
 
int _rotation_m
 
std::chrono::system_clock::time_point _rotation_tp
 

Additional Inherited Members

- Protected Attributes inherited from spdlog::sinks::base_sink< Mutex >
Mutex _mutex
 

Detailed Description

template<class Mutex>
class spdlog::sinks::SPDLOG_FINAL< Mutex >

Definition at line 29 of file file_sinks.h.

Member Typedef Documentation

template<class Mutex >
using spdlog::sinks::SPDLOG_FINAL< Mutex >::MyType = stdout_sink<Mutex>
private

Definition at line 23 of file stdout_sinks.h.

template<class Mutex >
using spdlog::sinks::SPDLOG_FINAL< Mutex >::MyType = stderr_sink<Mutex>
private

Definition at line 52 of file stdout_sinks.h.

Member Function Documentation

template<class Mutex >
void spdlog::sinks::SPDLOG_FINAL< Mutex >::_flush ( )
inlineoverrideprotectedvirtual

Implements spdlog::sinks::base_sink< Mutex >.

Definition at line 39 of file stdout_sinks.h.

template<class Mutex >
void spdlog::sinks::SPDLOG_FINAL< Mutex >::_flush ( )
inlineoverrideprotectedvirtual

Implements spdlog::sinks::base_sink< Mutex >.

Definition at line 49 of file file_sinks.h.

template<class Mutex >
void spdlog::sinks::SPDLOG_FINAL< Mutex >::_flush ( )
inlineoverrideprotectedvirtual

Implements spdlog::sinks::base_sink< Mutex >.

Definition at line 68 of file stdout_sinks.h.

template<class Mutex >
void spdlog::sinks::SPDLOG_FINAL< Mutex >::_flush ( )
inlineoverrideprotectedvirtual

Implements spdlog::sinks::base_sink< Mutex >.

Definition at line 93 of file file_sinks.h.

template<class Mutex >
void spdlog::sinks::SPDLOG_FINAL< Mutex >::_flush ( )
inlineoverrideprotectedvirtual

Implements spdlog::sinks::base_sink< Mutex >.

Definition at line 211 of file file_sinks.h.

template<class Mutex >
std::chrono::system_clock::time_point spdlog::sinks::SPDLOG_FINAL< Mutex >::_next_rotation_tp ( )
inlineprivate

Definition at line 217 of file file_sinks.h.

template<class Mutex >
void spdlog::sinks::SPDLOG_FINAL< Mutex >::_rotate ( )
inlineprivate

Definition at line 115 of file file_sinks.h.

template<class Mutex >
void spdlog::sinks::SPDLOG_FINAL< Mutex >::_sink_it ( const details::log_msg msg)
inlineoverrideprotectedvirtual

Implements spdlog::sinks::base_sink< Mutex >.

Definition at line 33 of file stdout_sinks.h.

template<class Mutex >
void spdlog::sinks::SPDLOG_FINAL< Mutex >::_sink_it ( const details::log_msg msg)
inlineoverrideprotectedvirtual

Implements spdlog::sinks::base_sink< Mutex >.

Definition at line 43 of file file_sinks.h.

template<class Mutex >
void spdlog::sinks::SPDLOG_FINAL< Mutex >::_sink_it ( const details::log_msg msg)
inlineoverrideprotectedvirtual

Implements spdlog::sinks::base_sink< Mutex >.

Definition at line 62 of file stdout_sinks.h.

template<class Mutex >
void spdlog::sinks::SPDLOG_FINAL< Mutex >::_sink_it ( const details::log_msg msg)
inlineoverrideprotectedvirtual

Implements spdlog::sinks::base_sink< Mutex >.

Definition at line 82 of file file_sinks.h.

template<class Mutex >
void spdlog::sinks::SPDLOG_FINAL< Mutex >::_sink_it ( const details::log_msg msg)
inlineoverrideprotectedvirtual

Implements spdlog::sinks::base_sink< Mutex >.

Definition at line 201 of file file_sinks.h.

template<class Mutex >
static filename_t spdlog::sinks::SPDLOG_FINAL< Mutex >::calc_filename ( const filename_t filename,
std::size_t  index 
)
inlinestaticprivate

Definition at line 99 of file file_sinks.h.

template<class Mutex >
spdlog::sinks::SPDLOG_FINAL< Mutex >::daily_file_sink ( const filename_t base_filename,
int  rotation_hour,
int  rotation_minute 
)
inline

Definition at line 186 of file file_sinks.h.

template<class Mutex >
static std::shared_ptr<MyType> spdlog::sinks::SPDLOG_FINAL< Mutex >::instance ( )
inlinestatic

Definition at line 27 of file stdout_sinks.h.

template<class Mutex >
static std::shared_ptr<MyType> spdlog::sinks::SPDLOG_FINAL< Mutex >::instance ( )
inlinestatic

Definition at line 56 of file stdout_sinks.h.

template<class Mutex >
spdlog::sinks::SPDLOG_FINAL< Mutex >::rotating_file_sink ( const filename_t base_filename,
std::size_t  max_size,
std::size_t  max_files 
)
inline

Definition at line 68 of file file_sinks.h.

template<class Mutex >
void spdlog::sinks::SPDLOG_FINAL< Mutex >::set_force_flush ( bool  force_flush)
inline

Definition at line 37 of file file_sinks.h.

template<class Mutex >
spdlog::sinks::SPDLOG_FINAL< Mutex >::simple_file_sink ( const filename_t filename,
bool  truncate = false 
)
inlineexplicit

Definition at line 32 of file file_sinks.h.

template<class Mutex >
spdlog::sinks::SPDLOG_FINAL< Mutex >::stderr_sink ( )
inline

Definition at line 54 of file stdout_sinks.h.

template<class Mutex >
spdlog::sinks::SPDLOG_FINAL< Mutex >::stdout_sink ( )
inline

Definition at line 25 of file stdout_sinks.h.

Member Data Documentation

template<class Mutex >
filename_t spdlog::sinks::SPDLOG_FINAL< Mutex >::_base_filename
private

Definition at line 138 of file file_sinks.h.

template<class Mutex >
std::size_t spdlog::sinks::SPDLOG_FINAL< Mutex >::_current_size
private

Definition at line 141 of file file_sinks.h.

template<class Mutex >
details::file_helper spdlog::sinks::SPDLOG_FINAL< Mutex >::_file_helper
private

Definition at line 54 of file file_sinks.h.

template<class Mutex >
bool spdlog::sinks::SPDLOG_FINAL< Mutex >::_force_flush
private

Definition at line 55 of file file_sinks.h.

template<class Mutex >
std::size_t spdlog::sinks::SPDLOG_FINAL< Mutex >::_max_files
private

Definition at line 140 of file file_sinks.h.

template<class Mutex >
std::size_t spdlog::sinks::SPDLOG_FINAL< Mutex >::_max_size
private

Definition at line 139 of file file_sinks.h.

template<class Mutex >
int spdlog::sinks::SPDLOG_FINAL< Mutex >::_rotation_h
private

Definition at line 233 of file file_sinks.h.

template<class Mutex >
int spdlog::sinks::SPDLOG_FINAL< Mutex >::_rotation_m
private

Definition at line 234 of file file_sinks.h.

template<class Mutex >
std::chrono::system_clock::time_point spdlog::sinks::SPDLOG_FINAL< Mutex >::_rotation_tp
private

Definition at line 235 of file file_sinks.h.


The documentation for this class was generated from the following files:


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:10