[#BloombergLP-bslim-Printer-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslim.adoc[bslim]::xref:BloombergLP/bslim/Printer.adoc[Printer]::Printer :relfileprefix: ../../../ :mrdocs: Create a `Printer` that formats output to the specified stream. == Synopsis Declared in `<bslim_printer.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- Printer( std::ostream* stream, int level, int spacesPerLevel); ---- == Description Create a `Printer` object that will print to the specified `stream` in a format dictated by the values of the specified `level` and `spacesPerLevel`, as per the contract of the standard BDE `print` method. The behavior is undefined unless `stream` is valid. == Parameters [cols="1,4"] |=== | Name| Description | *stream* | output stream to which this object prints | *level* | indentation level as defined by the BDE `print` contract | *spacesPerLevel* | spaces per indentation level; negative for single‐line output |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#