My Project
|
Log message text with timestamp and logger attributes. More...
#include <uuid/log.h>
Public Member Functions | |
Message (uint64_t uptime_ms, Level level, Facility facility, const __FlashStringHelper *name, const std::string &&text) | |
Create a new log message (not directly useful). More... | |
Public Attributes | |
const uint64_t | uptime_ms |
System uptime at the time the message was logged. More... | |
const Level | level |
Severity level of the message. More... | |
const Facility | facility |
Facility type of the process that logged the message. More... | |
const __FlashStringHelper * | name |
Name of the logger used (flash string). More... | |
const std::string | text |
Formatted log message text. More... | |
Log message text with timestamp and logger attributes.
These will be created when a message is logged and then passed to all registered handlers.
uuid::log::Message::Message | ( | uint64_t | uptime_ms, |
Level | level, | ||
Facility | facility, | ||
const __FlashStringHelper * | name, | ||
const std::string && | text | ||
) |
Create a new log message (not directly useful).
[in] | uptime_ms | System uptime, see uuid::get_uptime_ms(). |
[in] | level | Severity level of the message. |
[in] | facility | Facility type of the process logging the message. |
[in] | name | Logger name (flash string). |
[in] | text | Log message text. |
const Facility uuid::log::Message::facility |
const Level uuid::log::Message::level |
const __FlashStringHelper* uuid::log::Message::name |
const std::string uuid::log::Message::text |
const uint64_t uuid::log::Message::uptime_ms |