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

`isFileLoggingEnabled` overloads

== Synopses

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

Return whether file logging is enabled for this observer&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/FileObserver2/isFileLoggingEnabled-02.adoc[isFileLoggingEnabled]() const;
----

[.small]#xref:BloombergLP/ball/FileObserver2/isFileLoggingEnabled-02.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, loading the specified `result`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/FileObserver2/isFileLoggingEnabled-0b.adoc[isFileLoggingEnabled](xref:bsl/string.adoc[bsl::string]* result) const;
----

[.small]#xref:BloombergLP/ball/FileObserver2/isFileLoggingEnabled-0b.adoc[_» more&period;&period;&period;_]#

Return whether file logging is enabled, loading the log file name&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/FileObserver2/isFileLoggingEnabled-06.adoc[isFileLoggingEnabled](std::pmr::string* result) const;
----

[.small]#xref:BloombergLP/ball/FileObserver2/isFileLoggingEnabled-06.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, loading the specified `result`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/FileObserver2/isFileLoggingEnabled-09.adoc[isFileLoggingEnabled](std::string* result) const;
----

[.small]#xref:BloombergLP/ball/FileObserver2/isFileLoggingEnabled-09.adoc[_» more&period;&period;&period;_]#

== Return Value

`true` if file logging is enabled, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *result*
| receives the current log file name if logging is enabled
|===


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