Consumes a log entry to output it somewhere. More...
#include <Log.hpp>
Public Member Functions | |
virtual | ~LogConsumer ()=default |
virtual void | Consume (const Log::Entry &)=0 |
Protected Member Functions | |
FASTDDS_EXPORTED_API void | print_timestamp (std::ostream &stream, const Log::Entry &, bool color) const |
FASTDDS_EXPORTED_API void | print_header (std::ostream &stream, const Log::Entry &, bool color) const |
FASTDDS_EXPORTED_API void | print_context (std::ostream &stream, const Log::Entry &, bool color) const |
FASTDDS_EXPORTED_API void | print_message (std::ostream &stream, const Log::Entry &, bool color) const |
FASTDDS_EXPORTED_API void | print_new_line (std::ostream &stream, bool color) const |
Consumes a log entry to output it somewhere.
|
virtualdefault |
|
pure virtual |
Implemented in OStreamConsumer.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |