[#BloombergLP-ball-ObserverFormatterImp-setFormat] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/ObserverFormatterImp.adoc[ObserverFormatterImp]::setFormat :relfileprefix: ../../../ :mrdocs: Set the log record format specifications for this object according to the specified `format`. == Synopsis Declared in `<ball_observerformatterimp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int setFormat(std::string_view const& format); ---- == Description Return 0 on success, and a non‐zero value otherwise. This method has no effect on format if `format` is not a valid format specification. If `format` does not start with a scheme (it has no "://" in it) use the default "text" scheme. == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *format* | format configuration string used to create the formatter |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#