A single log message together with its metadata.
Declared in <util/log.h>
struct Entry;
| Name | Description |
|---|---|
category | Category the message belongs to. |
level | Severity level of the message. |
message | The formatted log message text. |
mocktime | Current mock time, or zero when unset. |
should_ratelimit | Hint for consumers if this entry should be ratelimited |
source_loc | Source location the message was logged from. |
thread_name | Internal name of the originating thread. |
timestamp | Wall-clock time the entry was created. |
| Name | Description |
|---|---|
Log | Send message to be logged. Applications using the logging library need to provide this. |