Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
spdlog::sinks::base_sink< Mutex > Class Template Referenceabstract

#include <base_sink.h>

+ Inheritance diagram for spdlog::sinks::base_sink< Mutex >:
+ Collaboration diagram for spdlog::sinks::base_sink< Mutex >:

Public Member Functions

 base_sink ()
 
virtual ~base_sink ()=default
 
 base_sink (const base_sink &)=delete
 
base_sinkoperator= (const base_sink &)=delete
 
void log (const details::log_msg &msg) SPDLOG_FINAL override
 
void flush () SPDLOG_FINAL override
 
- Public Member Functions inherited from spdlog::sinks::sink
 sink ()
 
virtual ~sink ()
 
bool should_log (level::level_enum msg_level) const
 
void set_level (level::level_enum log_level)
 
level::level_enum level () const
 

Protected Member Functions

virtual void _sink_it (const details::log_msg &msg)=0
 
virtual void _flush ()=0
 

Protected Attributes

Mutex _mutex
 

Detailed Description

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

Definition at line 25 of file base_sink.h.

Constructor & Destructor Documentation

◆ base_sink() [1/2]

template<class Mutex >
spdlog::sinks::base_sink< Mutex >::base_sink ( )
inline

Definition at line 28 of file base_sink.h.

◆ ~base_sink()

template<class Mutex >
virtual spdlog::sinks::base_sink< Mutex >::~base_sink ( )
virtualdefault

◆ base_sink() [2/2]

template<class Mutex >
spdlog::sinks::base_sink< Mutex >::base_sink ( const base_sink< Mutex > & )
delete

Member Function Documentation

◆ _flush()

◆ _sink_it()

◆ flush()

template<class Mutex >
void spdlog::sinks::base_sink< Mutex >::flush ( )
inlineoverridevirtual

Implements spdlog::sinks::sink.

Definition at line 39 of file base_sink.h.

◆ log()

template<class Mutex >
void spdlog::sinks::base_sink< Mutex >::log ( const details::log_msg & msg)
inlineoverridevirtual

Implements spdlog::sinks::sink.

Definition at line 34 of file base_sink.h.

◆ operator=()

template<class Mutex >
base_sink & spdlog::sinks::base_sink< Mutex >::operator= ( const base_sink< Mutex > & )
delete

Member Data Documentation

◆ _mutex

template<class Mutex >
Mutex spdlog::sinks::base_sink< Mutex >::_mutex
protected

Definition at line 48 of file base_sink.h.


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