#define | TLOG(severity, formatText, argumentList...) |
Post a log entry. More... | |
#define | TLOG_HEXDUMP(severity, data, length, baseOfData) |
Dump data in hex form to TLOG as one or more log entries. More... | |
enum | tlog_severity_level { TLOG_SEVERITY_LEVEL__EMERGENCY = 0, TLOG_SEVERITY_LEVEL__ALERT, TLOG_SEVERITY_LEVEL__CRITICAL, TLOG_SEVERITY_LEVEL__ERROR, TLOG_SEVERITY_LEVEL__WARNING, TLOG_SEVERITY_LEVEL__NOTICE, TLOG_SEVERITY_LEVEL__INFORMATIONAL, TLOG_SEVERITY_LEVEL__DEBUG } |
Severity levels. More... | |
Logs to a ring buffer in RAM, always on. Accessed by Line protocol "Trouble Log", CLI tlog command, or Web Manager "/tlog" URL.
#define TLOG | ( | severity, | |
formatText, | |||
argumentList... | |||
) |
Post a log entry.
[in] | severity | Serverity of type enum tlog_severity_level. |
[in] | formatText | Text for log entry, use snprintf format. |
[in] | argumentList | Optional arguments with types matching those defined in formatText. |
#define TLOG_HEXDUMP | ( | severity, | |
data, | |||
length, | |||
baseOfData | |||
) |
Dump data in hex form to TLOG as one or more log entries.
[in] | severity | Serverity of type enum tlog_severity_level. |
[in] | data | Starting address of data to be logged. |
[in] | length | Length in bytes of data to be logged. |
[in] | baseOfData | Base address of data, used for display of data offset. |
enum tlog_severity_level |
Severity levels.
The severity levels are defined in accordance with RFC 3164.