Protected Member Functions | List of all members
spdlog::sinks::null_sink< Mutex > Class Template Reference

#include <null_sink.h>

Inheritance diagram for spdlog::sinks::null_sink< Mutex >:
spdlog::sinks::base_sink< Mutex > spdlog::sinks::sink

Protected Member Functions

void sink_it_ (const details::log_msg &) override
 
void flush_ () override
 
- Protected Member Functions inherited from spdlog::sinks::base_sink< Mutex >
virtual void set_pattern_ (const std::string &pattern)
 
virtual void set_formatter_ (std::unique_ptr< spdlog::formatter > sink_formatter)
 

Additional Inherited Members

- Public Member Functions inherited from spdlog::sinks::base_sink< Mutex >
 base_sink ()=default
 
 base_sink (const base_sink &)=delete
 
base_sinkoperator= (const base_sink &)=delete
 
void log (const details::log_msg &msg) final
 
void flush () final
 
void set_pattern (const std::string &pattern) final
 
void set_formatter (std::unique_ptr< spdlog::formatter > sink_formatter) final
 
- Public Member Functions inherited from spdlog::sinks::sink
 sink ()
 
 sink (std::unique_ptr< spdlog::pattern_formatter > formatter)
 
virtual ~sink ()=default
 
bool should_log (level::level_enum msg_level) const
 
void set_level (level::level_enum log_level)
 
level::level_enum level () const
 
- Protected Attributes inherited from spdlog::sinks::base_sink< Mutex >
Mutex mutex_
 
- Protected Attributes inherited from spdlog::sinks::sink
level_t level_
 
std::unique_ptr< spdlog::formatterformatter_
 

Detailed Description

template<typename Mutex>
class spdlog::sinks::null_sink< Mutex >

Definition at line 21 of file null_sink.h.

Member Function Documentation

template<typename Mutex >
void spdlog::sinks::null_sink< Mutex >::flush_ ( )
inlineoverrideprotectedvirtual

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

Definition at line 25 of file null_sink.h.

25 {}
template<typename Mutex >
void spdlog::sinks::null_sink< Mutex >::sink_it_ ( const details::log_msg )
inlineoverrideprotectedvirtual

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

Definition at line 24 of file null_sink.h.

24 {}

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