[#BloombergLP-ball-AsyncFileObserver-setStdoutLogFormat] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/AsyncFileObserver.adoc[AsyncFileObserver]::setStdoutLogFormat :relfileprefix: ../../../ :mrdocs: Set the format specifications for log records written to `stdout` to the `stdoutFormat`. If the default short output format is currently in effect (for logging to `stdout`) this method has the effect of calling `enableStdoutLoggingPrefix` (see that method and `disableStdoutLoggingPrefix`) and setting the format corresponding to enabled `stdout` logging prefix to `stdoutFormat`. See {Log Record Formatting} for details on the syntax of format specifications. Return zero if the format is valid and the corresponding formatter has been set. Otherwise, if the format is invalid, return a non‐zero value and do not change the formatter. Note that default format is in effect following construction until a format‐setting method is called ("n%d %p:%t %s %f:%l %c %m %un" for both file and `stdout` logging). == Synopsis Declared in `<ball_asyncfileobserver.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int setStdoutLogFormat(char const* stdoutFormat); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#