AnCH Framework  0.1
Another C++ Hack Framework
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
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::LevelFormatter ( )

LevelFormatter default constructor

LevelFormatter::~LevelFormatter ( )
virtual

LevelFormatter destructor

Member Function Documentation

void 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.

FormatterType 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 files: