[#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`. 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. == Synopsis Declared in `<ball_observerformatterimp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int setFormat(std::string_view const& format); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#