#include <constFormatter.hpp>
Public Member Functions | |
| ConstFormatter (const std::string strToPrint) | |
| virtual | ~ConstFormatter () |
| virtual void | formatValue (const void *const value, std::ostream &out) const noexcept |
| virtual anch::log::fmt::FormatterType | getType () const noexcept |
| Public Member Functions inherited from anch::log::fmt::IFormatter | |
| virtual | ~IFormatter () |
Constant string formatter
| anch::log::fmt::ConstFormatter::ConstFormatter | ( | const std::string | strToPrint | ) |
ConstFormatter constructor
| strToPrint | The string to print |
|
virtual |
ConstFormatter destructor
|
virtualnoexcept |
Return the constant string
| value | Nothing (NULL will be passed every time) |
| out | The output stream to write in |
Implements anch::log::fmt::IFormatter.
|
virtualnoexcept |