[#BloombergLP-ball-ObserverFormatterImp-setFormatFunctor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/ObserverFormatterImp.adoc[ObserverFormatterImp]::setFormatFunctor
:relfileprefix: ../../../
:mrdocs:

Set the formatting functor used when writing records to the specified `formatter` functor&period;

== Synopsis

Declared in `&lt;ball&lowbar;observerformatterimp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setFormatFunctor(xref:BloombergLP/ball/ObserverFormatterImp/RecordFormatter.adoc[RecordFormatter] const& formatter);
----

== Description

Note that this method is not able to communicate the timezone default settings to the `formatter`, prefer `setFormat`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *formatter*
| functor used to format log records to a stream
|===


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