Wire Sysio Wire Sysion 1.0.0
|
aggregates a message along with the context and associated meta-information. More...
#include <log_message.hpp>
Public Member Functions | |
log_message () | |
log_message (log_context ctx, std::string format, variant_object args=variant_object()) | |
~log_message () | |
log_message (const variant &v) | |
variant | to_variant () const |
string | get_message () const |
string | get_limited_message () const |
log_context | get_context () const |
string | get_format () const |
variant_object | get_data () const |
When converted to JSON, log_message has the following form:
Definition at line 105 of file log_message.hpp.
fc::log_message::log_message | ( | ) |
Definition at line 197 of file log_message.cpp.
fc::log_message::log_message | ( | log_context | ctx, |
std::string | format, | ||
variant_object | args = variant_object() ) |
ctx | - generally provided using the FC_LOG_CONTEXT(LEVEL) macro |
Definition at line 200 of file log_message.cpp.
fc::log_message::~log_message | ( | ) |
Definition at line 196 of file log_message.cpp.
fc::log_message::log_message | ( | const variant & | v | ) |
Definition at line 207 of file log_message.cpp.
log_context fc::log_message::get_context | ( | ) | const |
Definition at line 221 of file log_message.cpp.
variant_object fc::log_message::get_data | ( | ) | const |
Definition at line 223 of file log_message.cpp.
string fc::log_message::get_format | ( | ) | const |
Definition at line 222 of file log_message.cpp.
string fc::log_message::get_limited_message | ( | ) | const |
A faster version of get_message which does limited formatting and excludes large variants
Definition at line 230 of file log_message.cpp.
string fc::log_message::get_message | ( | ) | const |
variant fc::log_message::to_variant | ( | ) | const |
Definition at line 214 of file log_message.cpp.