[#BloombergLP-ball-CstdioObserver-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/CstdioObserver.adoc[CstdioObserver]::CstdioObserver :relfileprefix: ../../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit CstdioObserver( FILE* stream, xref:BloombergLP/ball/CstdioObserver/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#