Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CDarwinInterfaceForCLog Class Reference

#include <DarwinInterfaceForCLog.h>

Inheritance diagram for CDarwinInterfaceForCLog:
CPosixInterfaceForCLog IPlatformLog

Public Member Functions

 CDarwinInterfaceForCLog ()
 
 ~CDarwinInterfaceForCLog () override=default
 
void AddSinks (std::shared_ptr< spdlog::sinks::dist_sink< std::mutex > > distributionSink) const override
 
void log (const spdlog::details::log_msg &msg) override
 
void flush () override
 
void set_pattern (const std::string &pattern) override
 
void set_formatter (std::unique_ptr< spdlog::formatter > sink_formatter) override
 
- Public Member Functions inherited from CPosixInterfaceForCLog
 CPosixInterfaceForCLog ()=default
 
virtual ~CPosixInterfaceForCLog () override=default
 
spdlog_filename_t GetLogFilename (const std::string &filename) const override
 
void AddSinks (std::shared_ptr< spdlog::sinks::dist_sink< std::mutex > > distributionSink) const override
 
- Public Member Functions inherited from IPlatformLog
virtual ~IPlatformLog ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from IPlatformLog
static std::unique_ptr< IPlatformLogCreatePlatformLog ()
 

Constructor & Destructor Documentation

◆ CDarwinInterfaceForCLog()

CDarwinInterfaceForCLog::CDarwinInterfaceForCLog ( )

◆ ~CDarwinInterfaceForCLog()

CDarwinInterfaceForCLog::~CDarwinInterfaceForCLog ( )
overridedefault

Member Function Documentation

◆ AddSinks()

void CDarwinInterfaceForCLog::AddSinks ( std::shared_ptr< spdlog::sinks::dist_sink< std::mutex > > distributionSink) const
overridevirtual

Implements IPlatformLog.

◆ flush()

void CDarwinInterfaceForCLog::flush ( )
override

◆ log()

void CDarwinInterfaceForCLog::log ( const spdlog::details::log_msg & msg)
override

◆ set_formatter()

void CDarwinInterfaceForCLog::set_formatter ( std::unique_ptr< spdlog::formatter > sink_formatter)
override

◆ set_pattern()

void CDarwinInterfaceForCLog::set_pattern ( const std::string & pattern)
override

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