BloombergLP::ball::CstdioObserver::CstdioObserver

Create a cstdio 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 cstdio logging (see setFormat).

Synopsis

Declared in <ball_cstdioobserver.h>

explicit
CstdioObserver(
    FILE* stream,
    allocator_type const& allocator = allocator_type());