Chatsync  bbffde5c0c672a526bdc83637acf66dc20a80fbf
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
logging::LogSinkPrinter Class Reference

#include <logging.hpp>

Inheritance diagram for logging::LogSinkPrinter:
logging::LogSink

Public Member Functions

void write (const LogMessage &&msg) override
 

Private Member Functions

std::string formatMessage (const LogMessage &&msg) const
 

Detailed Description

Sink that prints the log to std::cerr

Member Function Documentation

§ formatMessage()

std::string logging::LogSinkPrinter::formatMessage ( const LogMessage &&  msg) const
private

Formats message as [TIME] [SEVERITY] Message

§ write()

void logging::LogSinkPrinter::write ( const LogMessage &&  msg)
overridevirtual

Make the actual output to the sink

Implements logging::LogSink.


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