BloombergLP::ball::AsyncFileObserver::isFileLoggingEnabled

isFileLoggingEnabled overloads

Synopses

Declared in <ball_asyncfileobserver.h>

Return true if file logging is enabled for this async 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 async file observer may still be logged to stdout when this method returns false.

bool
isFileLoggingEnabled() const;
» more...

Same as the preceding overload, loading the specified result.

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

Return true if file logging is enabled for this async 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 async 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, loading the specified result.

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