BloombergLP::ball::FileObserver::publish

publish overloads

Synopses

Declared in <ball_fileobserver.h>

Process the specified log record having the specified publishing context by writing record and context to the current log file if file logging is enabled for this file observer, and to stdout if the severity of record is at least as severe as the value returned by stdoutThreshold.

virtual
void
publish(
    Record const& record,
    Context const& context) override;
» more...

Process the record referenced by the specified 'record' shared pointer having the specified publishing 'context' by writing the record and 'context' to the current log file if file logging is enabled for this file observer, and to 'stdout' if the severity of 'record' is at least as severe as the value returned by 'stdoutThreshold'.

virtual
void
publish(
    bsl::shared_ptr<Record const> const& record,
    Context const& context) override;
» more...