BloombergLP::ball::FileObserver::publish

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

Synopsis

Declared in <ball_fileobserver.h>

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