[#BloombergLP-ball-FileObserver2-isFileLoggingEnabled-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/FileObserver2.adoc[FileObserver2]::isFileLoggingEnabled :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<ball_fileobserver2.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool isFileLoggingEnabled(std::pmr::string* result) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#