[#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 `<ball_fileobserver2.h>` Return `true` if file logging is enabled for this file observer, and `false` otherwise. Load the optionally specified `result` with the name of the current log file if file logging is enabled, and leave `result` unmodified otherwise. Note that records received through the `publish` method of this file observer will be dropped when this method returns `false`. [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..._]# Same as the preceding overload, loading the specified `result`. [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..._]# Return `true` if file logging is enabled for this file observer, and `false` otherwise. Load the specified `result` with the name of the current log file if file logging is enabled, and leave `result` unmodified otherwise. [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..._]# Same as the preceding overload, loading the specified `result`. [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..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#