BloombergLP::ball::FileObserver::isFileLoggingEnabled

isFileLoggingEnabled overloads

Synopses

Declared in <ball_fileobserver.h>

Return whether file logging is enabled for this observer.

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 whether file logging is enabled, loading the log file name.

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...

Return Value

true if file logging is enabled, and false otherwise

Parameters

NameDescription
resultreceives the current log file name when logging is enabled