BloombergLP::ball::StreamObserver::publish

Publish the specified log record with the given context.

Synopsis

Declared in <ball_streamobserver.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. Print record and context to the bsl::ostream supplied at construction. The behavior is undefined if record or context is modified during the execution of this method.

Parameters

NameDescription
recordshared pointer to the log record to publish
contextpublication context for record