BloombergLP::ball::StreamObserver::StreamObserver

Create a stream observer that transmits log records to the specified stream. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used. Note that a default record format is in effect for stream logging (see logRecordDefault).

Synopsis

Declared in <ball_streamobserver.h>

explicit
StreamObserver(
    std::ostream* stream,
    allocator_type const& allocator = allocator_type());