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

#include <levelFormatter.hpp>

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

Public Member Functions

 LevelFormatter ()
 
virtual ~LevelFormatter ()
 
virtual void formatValue (const void *const value, std::ostream &out) const noexcept
 
virtual anch::logger::formatter::FormatterType getType () const noexcept
 
- Public Member Functions inherited from anch::logger::formatter::IFormatter
virtual ~IFormatter ()
 

Detailed Description

Logging level formatter

Author
Vincent Lachenal

Constructor & Destructor Documentation

◆ LevelFormatter()

anch::logger::formatter::LevelFormatter::LevelFormatter ( )

LevelFormatter default constructor

◆ ~LevelFormatter()

virtual anch::logger::formatter::LevelFormatter::~LevelFormatter ( )
virtual

LevelFormatter destructor

Member Function Documentation

◆ formatValue()

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

Return the level label

Parameters
valueThe logging level
outThe output stream to write in

Implements anch::logger::formatter::IFormatter.

◆ getType()

virtual anch::logger::formatter::FormatterType anch::logger::formatter::LevelFormatter::getType ( ) const
virtualnoexcept

Get the formatter type

Returns
The formatter type

Implements anch::logger::formatter::IFormatter.


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