Process the specified log record having the specified publishing context.

Synopsis

Declared in <ball_filteringobserver.h>

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

Description

Process the specified log record having the specified publishing context. Forward record and context to the publish method of the observer supplied at construction if the filter callback supplied at construction returns true for record and context, and ignore (filter out) record and context otherwise. The behavior is undefined if record or context is modified during the execution of this method.

Parameters

Name

Description

record

log record to publish

context

publication context for record

Created with MrDocs