[#util-log-Entry] = xref:util.adoc[util]::xref:util/log.adoc[log]::Entry :relfileprefix: ../../ :mrdocs: A single log message together with its metadata. == Synopsis Declared in `<util/log.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct Entry; ---- == Data Members [cols="1,4"] |=== | Name| Description | xref:util/log/Entry/category.adoc[`category`] | Category the message belongs to. | xref:util/log/Entry/level.adoc[`level`] | Severity level of the message. | xref:util/log/Entry/message.adoc[`message`] | The formatted log message text. | xref:util/log/Entry/mocktime.adoc[`mocktime`] | Current mock time, or zero when unset. | xref:util/log/Entry/should_ratelimit.adoc[`should_ratelimit`] | Hint for consumers if this entry should be ratelimited | xref:util/log/Entry/source_loc.adoc[`source_loc`] | Source location the message was logged from. | xref:util/log/Entry/thread_name.adoc[`thread_name`] | Internal name of the originating thread. | xref:util/log/Entry/timestamp.adoc[`timestamp`] | Wall‐clock time the entry was created. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:util/log/Log.adoc[`Log`] | Send message to be logged. Applications using the logging library need to provide this. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#