[#absl-LogEntry-timestamp]
= xref:absl.adoc[absl]::xref:absl/LogEntry.adoc[LogEntry]::timestamp
:relfileprefix: ../../
:mrdocs:

Returns the time at which this entry was written&period; Captured during evaluation of `LOG`, but can be overridden by `LOG(&period;&period;&period;)&period;WithTimestamp(&period;&period;&period;)`&period;

== Synopsis

Declared in `&lt;absl&sol;log&sol;log&lowbar;entry&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/Time.adoc[absl::Time]
timestamp() const;
----

== Description

Take care not to rely on timestamps increasing monotonically, or even to rely on timestamps having any particular relationship with reality (since they can be overridden)&period;

== Return Value

The entry&apos;s timestamp&period;


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