[#BloombergLP-balxml-Formatter-2constructor-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Formatter.adoc[Formatter]::Formatter
:relfileprefix: ../../../
:mrdocs:

Construct an object to format XML data into the specified `output` stream&period; Optionally specify initial `indentLevel`, `spacesPerLevel`, and `wrapColumn` for formatting, and a `basicAllocator` used to supply memory&period;

== Synopsis

Declared in `&lt;balxml&lowbar;formatter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Formatter(
    std::ostream& output,
    int indentLevel = 0,
    int spacesPerLevel = 4,
    int wrapColumn = 80,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
