MIRA
Public Member Functions | List of all members
LogFormatterBase Class Referenceabstract

Abstract base class for sink formatters. More...

#include <error/LoggingCore.h>

Inheritance diagram for LogFormatterBase:
Inheritance graph
[legend]

Public Member Functions

virtual ~LogFormatterBase ()
 Destructor. More...
 
virtual std::string format (const LogRecord &record)=0
 Creates a formatted string out of a log entry. More...
 

Detailed Description

Abstract base class for sink formatters.

Constructor & Destructor Documentation

◆ ~LogFormatterBase()

virtual ~LogFormatterBase ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ format()

virtual std::string format ( const LogRecord record)
pure virtual

Creates a formatted string out of a log entry.

Parameters
recordThe log entry.
Returns
The formatted string

Implemented in LogCustomizableFormatter, and LogSimpleFormatter.


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