Publish the specified log record with the given context.

Synopsis

Declared in <ball_fileobserver2.h>

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

Description

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.

Parameters

Name

Description

record

shared pointer to the log record to publish

context

publication context for record

Created with MrDocs