BloombergLP::ball::FileObserver::isFileLoggingEnabled

isFileLoggingEnabled overloads

Synopses

Declared in <ball_fileobserver.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 may still be logged to stdout when this method returns false.

bool
isFileLoggingEnabled() const;
» more...

Return true if file logging is enabled and load the specified result with the current log file name; otherwise return false.

bool
isFileLoggingEnabled(bsl::string* result) const;
» 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. Note that records received through the publish method of this file observer may still be logged to stdout when this method returns false.

bool
isFileLoggingEnabled(std::pmr::string* result) const;
» more...

Same as the preceding overload, using a std::string result.

bool
isFileLoggingEnabled(std::string* result) const;
» more...