neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::logger::formatter Class Reference

#include <i_logger.hpp>

Inheritance diagram for neolib::logger::formatter:
neolib::logger::i_formatter

Public Types

typedef std::function< void(i_logger const &, i_string const &, i_string &)> function_type
 

Public Member Functions

 formatter (function_type aFormattingFunction)
 
void format (i_logger const &aLogger, i_string const &aUnformattedMessage, i_string &aFormattedMessage) override
 
- Public Member Functions inherited from neolib::logger::i_formatter
virtual ~i_formatter ()=default
 

Detailed Description

Definition at line 220 of file i_logger.hpp.

Member Typedef Documentation

◆ function_type

Constructor & Destructor Documentation

◆ formatter()

neolib::logger::formatter::formatter ( function_type  aFormattingFunction)
inline

Definition at line 225 of file i_logger.hpp.

Member Function Documentation

◆ format()

void neolib::logger::formatter::format ( i_logger const aLogger,
i_string const aUnformattedMessage,
i_string aFormattedMessage 
)
inlineoverridevirtual

Implements neolib::logger::i_formatter.

Definition at line 230 of file i_logger.hpp.


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