Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
spdlog::sinks::sink Class Referenceabstract

#include <sink.h>

+ Inheritance diagram for spdlog::sinks::sink:

Public Member Functions

 sink ()
 
virtual ~sink ()
 
virtual void log (const details::log_msg &msg)=0
 
virtual void flush ()=0
 
bool should_log (level::level_enum msg_level) const
 
void set_level (level::level_enum log_level)
 
level::level_enum level () const
 

Private Attributes

level_t _level
 

Detailed Description

Definition at line 15 of file sink.h.

Constructor & Destructor Documentation

◆ sink()

spdlog::sinks::sink::sink ( )
inline

Definition at line 18 of file sink.h.

◆ ~sink()

virtual spdlog::sinks::sink::~sink ( )
inlinevirtual

Definition at line 23 of file sink.h.

Member Function Documentation

◆ flush()

virtual void spdlog::sinks::sink::flush ( )
pure virtual

◆ level()

level::level_enum spdlog::sinks::sink::level ( ) const
inline

Definition at line 46 of file sink.h.

◆ log()

virtual void spdlog::sinks::sink::log ( const details::log_msg & msg)
pure virtual

◆ set_level()

void spdlog::sinks::sink::set_level ( level::level_enum log_level)
inline

Definition at line 41 of file sink.h.

◆ should_log()

bool spdlog::sinks::sink::should_log ( level::level_enum msg_level) const
inline

Definition at line 36 of file sink.h.

Member Data Documentation

◆ _level

level_t spdlog::sinks::sink::_level
private

Definition at line 32 of file sink.h.


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