AnCH Framework 0.1
Another C++ Hack Framework
 
Loading...
Searching...
No Matches
anch::logger::formatter::IFormatter Class Referenceabstract

#include <iFormatter.hpp>

+ Inheritance diagram for anch::logger::formatter::IFormatter:
+ Collaboration diagram for anch::logger::formatter::IFormatter:

Public Member Functions

virtual ~IFormatter ()
 
virtual anch::logger::formatter::FormatterType getType () const noexcept=0
 
virtual void formatValue (const void *const value, std::ostream &out) const noexcept=0
 

Detailed Description

Provide an interface for every item which will be format

Author
Vincent Lachenal

Constructor & Destructor Documentation

◆ ~IFormatter()

virtual anch::logger::formatter::IFormatter::~IFormatter ( )
inlinevirtual

IFormatter destructor

Member Function Documentation

◆ formatValue()

virtual void anch::logger::formatter::IFormatter::formatValue ( const void *const value,
std::ostream & out ) const
pure virtualnoexcept

Format value

Parameters
valueThe value to format
outThe output stream to write in

Implemented in anch::logger::formatter::AnchDateFormatter, anch::logger::formatter::CategoryFormatter, anch::logger::formatter::ConstFormatter, anch::logger::formatter::DateFormatter, anch::logger::formatter::LevelFormatter, anch::logger::formatter::MDCFormatter, anch::logger::formatter::StringFormatter, and anch::logger::formatter::ThreadIdFormatter.

+ Here is the call graph for this function:

◆ getType()


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