MessageFormatter.hpp
Go to the documentation of this file.
Abstract interface for message formatting classes. Definition: MessageFormatter.hpp:32 virtual ~MessageFormatterInterface()=default Virtual destructor to enable inheritance. virtual std::string format(const int64_t message_flag, const std::string &message)=0 A simple formatter capable of adding message prefixes and colors. Definition: MessageFormatter.hpp:48 virtual std::string format(const int64_t message_flag, const std::string &message) override Definition: MessageFormatter.hpp:76 SimpleMessageFormatter(const int64_t prefix_flag, const bool use_color_coding) Definition: MessageFormatter.hpp:60 SimpleMessageFormatter(const bool use_color_coding) Definition: MessageFormatter.hpp:67 SimpleMessageFormatter(const bool use_prefix, const bool use_color_coding) Constructor controlling formatting to be applied. Definition: MessageFormatter.hpp:51 std::string colorCodeMessage(int64_t messageType, const std::string &msg) std::string prefixMessage(int64_t messageType, const std::string &msg) Definition: A.hpp:4 |