[#BloombergLP-ball-FileObserver-isFileLoggingEnabled-0657] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/FileObserver.adoc[FileObserver]::isFileLoggingEnabled :relfileprefix: ../../../ :mrdocs: `isFileLoggingEnabled` overloads == Synopses Declared in `<ball_fileobserver.h>` Return whether file logging is enabled for this observer. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/ball/FileObserver/isFileLoggingEnabled-00.adoc[isFileLoggingEnabled]() const; ---- [.small]#xref:BloombergLP/ball/FileObserver/isFileLoggingEnabled-00.adoc[_» more..._]# Return `true` if file logging is enabled and load the specified `result` with the current log file name; otherwise return `false`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/ball/FileObserver/isFileLoggingEnabled-0b.adoc[isFileLoggingEnabled](xref:bsl/string.adoc[bsl::string]* result) const; ---- [.small]#xref:BloombergLP/ball/FileObserver/isFileLoggingEnabled-0b.adoc[_» more..._]# Return whether file logging is enabled, loading the log file name. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/ball/FileObserver/isFileLoggingEnabled-0654.adoc[isFileLoggingEnabled](std::pmr::string* result) const; ---- [.small]#xref:BloombergLP/ball/FileObserver/isFileLoggingEnabled-0654.adoc[_» more..._]# Same as the preceding overload, using a `std::string` result. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/ball/FileObserver/isFileLoggingEnabled-07.adoc[isFileLoggingEnabled](std::string* result) const; ---- [.small]#xref:BloombergLP/ball/FileObserver/isFileLoggingEnabled-07.adoc[_» more..._]# == Return Value `true` if file logging is enabled, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *result* | receives the current log file name when logging is enabled |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#