#include <mdcFormatter.hpp>
Public Member Functions | |
| MDCFormatter (const std::string &key) | |
| virtual | ~MDCFormatter () |
| 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 () |
MDC value formatter
| anch::log::fmt::MDCFormatter::MDCFormatter | ( | const std::string & | key | ) |
MDCFormatter default constructor
| key | the MDC key |
|
virtual |
MDCFormatter destructor
|
virtualnoexcept |
Return the input string
| value | The input string |
| out | The output stream to write in |
Implements anch::log::fmt::IFormatter.
|
virtualnoexcept |