ChainCLI
A modern C++20 command-line interface library
Loading...
Searching...
No Matches
cli::logging::MessageOnlyFormatter Class Reference

Formatter that displays only the message of the log record. More...

#include <formatter.h>

Inheritance diagram for cli::logging::MessageOnlyFormatter:
cli::logging::AbstractFormatter

Public Member Functions

std::string format (const LogRecord &record) const override
 Formats a log record into a string.
 

Detailed Description

Formatter that displays only the message of the log record.

Member Function Documentation

◆ format()

inline_t std::string cli::logging::MessageOnlyFormatter::format ( const LogRecord record) const
overridevirtual

Formats a log record into a string.

Parameters
recordThe log record to format.
Returns
The formatted log record as a string.

Implements cli::logging::AbstractFormatter.


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