[#BloombergLP-ball-AsyncFileObserver-isPublishInLocalTimeEnabled]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/AsyncFileObserver.adoc[AsyncFileObserver]::isPublishInLocalTimeEnabled
:relfileprefix: ../../../
:mrdocs:

Return `true` if published timestamps are written in local time&period;

== Synopsis

Declared in `&lt;ball&lowbar;asyncfileobserver&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
isPublishInLocalTimeEnabled() const;
----

== Description

Return `true` if this async file observer writes the timestamp attribute of records that it publishes in local time, and `false` otherwise (in which case timestamps are written in UTC time)&period; Note that the value returned by this method also affects log filenames (see &lcub;Log Filename Patterns&rcub;)&period;

== Return Value

`true` if timestamps are written in local time, and `false` otherwise


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