#include <log_event.h>
Public Types | |
enum | Channel { Channel::NotApplicable, Channel::Stdout, Channel::Stderr } |
enum | Type { Type::Raw, Type::Info, Type::Warning, Type::Error } |
Public Member Functions | |
LogEvent (std::string source, std::string message, Type type=Type::Raw) | |
Public Attributes | |
Channel | channel = Channel::NotApplicable |
std::string | message |
bool | muted = false |
bool | showStdout = true |
std::string | source |
Type | type |
Definition at line 12 of file log_event.h.
|
strong |
Enumerator | |
---|---|
NotApplicable | |
Stdout | |
Stderr |
Definition at line 27 of file log_event.h.
|
strong |
Enumerator | |
---|---|
Raw |
Raw messages from monitored nodes. These are self-coded using ANSI escape codes. |
Info | |
Warning | |
Error |
Definition at line 15 of file log_event.h.
|
inline |
Definition at line 34 of file log_event.h.
Channel rosmon::LogEvent::channel = Channel::NotApplicable |
Definition at line 42 of file log_event.h.
std::string rosmon::LogEvent::message |
Definition at line 39 of file log_event.h.
bool rosmon::LogEvent::muted = false |
Definition at line 41 of file log_event.h.
bool rosmon::LogEvent::showStdout = true |
Definition at line 43 of file log_event.h.
std::string rosmon::LogEvent::source |
Definition at line 38 of file log_event.h.
Type rosmon::LogEvent::type |
Definition at line 40 of file log_event.h.