LiteFX 0.3.1.2022
Computer Graphics Engine
LiteFX::Logging::ISink Class Referenceabstract

#include <logging.hpp>

Inherited by LiteFX::Logging::ConsoleSink, and LiteFX::Logging::RollingFileSink.

Public Member Functions

virtual LogLevel getLevel () const =0
 Gets the minimum log level for messages to get written to the log. More...
 
virtual String getName () const =0
 Gets the name of the sink. More...
 
virtual String getPattern () const =0
 Gets the pattern used to format the messages for the sink. More...
 

Protected Member Functions

virtual spdlog::sink_ptr get () const =0
 

Friends

class Logger
 

Member Function Documentation

◆ get()

virtual spdlog::sink_ptr LiteFX::Logging::ISink::get ( ) const
protectedpure virtual

◆ getLevel()

virtual LogLevel LiteFX::Logging::ISink::getLevel ( ) const
pure virtual

Gets the minimum log level for messages to get written to the log.

Implemented in LiteFX::Logging::ConsoleSink, and LiteFX::Logging::RollingFileSink.

◆ getName()

virtual String LiteFX::Logging::ISink::getName ( ) const
pure virtual

Gets the name of the sink.

Implemented in LiteFX::Logging::ConsoleSink, and LiteFX::Logging::RollingFileSink.

◆ getPattern()

virtual String LiteFX::Logging::ISink::getPattern ( ) const
pure virtual

Gets the pattern used to format the messages for the sink.

Implemented in LiteFX::Logging::ConsoleSink, and LiteFX::Logging::RollingFileSink.

Friends And Related Function Documentation

◆ Logger

friend class Logger
friend