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

Return `true` if file logging is enabled for this async file observer, and `false` otherwise&period; Load the optionally specified `result` with the name of the current log file if file logging is enabled, and leave `result` unmodified otherwise&period; Note that records received through the `publish` method of this async file observer may still be logged to `stdout` when this method returns `false`&period;

== Synopsis

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

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


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