#include <iFormatter.hpp>
Public Member Functions | |
| virtual | ~IFormatter () |
| virtual anch::log::fmt::FormatterType | getType () const noexcept=0 |
| virtual void | formatValue (const void *const value, std::ostream &out) const noexcept=0 |
Provide an interface for every item which will be format
|
inlinevirtual |
IFormatter destructor
|
pure virtualnoexcept |
Format value
| value | The value to format |
| out | The output stream to write in |
Implemented in anch::log::fmt::AnchDateFormatter, anch::log::fmt::CategoryFormatter, anch::log::fmt::ConstFormatter, anch::log::fmt::DateFormatter, anch::log::fmt::LevelFormatter, anch::log::fmt::MDCFormatter, anch::log::fmt::StringFormatter, and anch::log::fmt::ThreadIdFormatter.
|
pure virtualnoexcept |
Get the formatter type
Implemented in anch::log::fmt::AnchDateFormatter, anch::log::fmt::CategoryFormatter, anch::log::fmt::ConstFormatter, anch::log::fmt::DateFormatter, anch::log::fmt::LevelFormatter, anch::log::fmt::MDCFormatter, anch::log::fmt::StringFormatter, and anch::log::fmt::ThreadIdFormatter.