BloombergLP::ball::FileObserver2::publish

publish overloads

Synopses

Declared in <ball_fileobserver2.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. The method has no effect if file logging is not enabled, in which case record is dropped.

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. The method has no effect if file logging is not enabled, in which case record is dropped.

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