[#util-log-Entry]
= xref:util.adoc[util]::xref:util/log.adoc[log]::Entry
:relfileprefix: ../../
:mrdocs:

A single log message together with its metadata&period;

== Synopsis

Declared in `&lt;util&sol;log&period;h&gt;`

[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&period;
| xref:util/log/Entry/level.adoc[`level`] 
| Severity level of the message&period;
| xref:util/log/Entry/message.adoc[`message`] 
| The formatted log message text&period;
| xref:util/log/Entry/mocktime.adoc[`mocktime`] 
| Current mock time, or zero when unset&period;
| xref:util/log/Entry/should_ratelimit.adoc[`should&lowbar;ratelimit`] 
| Hint for consumers if this entry should be ratelimited
| xref:util/log/Entry/source_loc.adoc[`source&lowbar;loc`] 
| Source location the message was logged from&period;
| xref:util/log/Entry/thread_name.adoc[`thread&lowbar;name`] 
| Internal name of the originating thread&period;
| xref:util/log/Entry/timestamp.adoc[`timestamp`] 
| Wall&hyphen;clock time the entry was created&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:util/log/Log.adoc[`Log`]
| Send message to be logged&period; Applications using the logging library need to provide this&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
