BloombergLP::ball::ObserverFormatterImp::setFormat

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>

int
setFormat(std::string_view const& format);