Agora  1.2.0
Agora project
failing_sink Class Reference
Inheritance diagram for failing_sink:
Collaboration diagram for failing_sink:

Protected Member Functions

void sink_it_ (const spdlog::details::log_msg &) final
 
void flush_ () final
 
- Protected Member Functions inherited from spdlog::sinks::base_sink< std::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< std::mutex >
 base_sink ()
 
 base_sink (std::unique_ptr< spdlog::formatter > formatter)
 
 base_sink (const base_sink &)=delete
 
 base_sink (base_sink &&)=delete
 
 ~base_sink () override=default
 
base_sinkoperator= (const base_sink &)=delete
 
base_sinkoperator= (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
virtual ~sink ()=default
 
void set_level (level::level_enum log_level)
 
level::level_enum level () const
 
bool should_log (level::level_enum msg_level) const
 
- Protected Attributes inherited from spdlog::sinks::base_sink< std::mutex >
std::unique_ptr< spdlog::formatterformatter_
 
std::mutex mutex_
 
- Protected Attributes inherited from spdlog::sinks::sink
level_t level_ {level::trace}
 

Member Function Documentation

◆ flush_()

void failing_sink::flush_ ( )
inlinefinalprotectedvirtual

◆ sink_it_()

void failing_sink::sink_it_ ( const spdlog::details::log_msg )
inlinefinalprotectedvirtual

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