[#BloombergLP-ball-AsyncFileObserver-setFileLogFormat] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/AsyncFileObserver.adoc[AsyncFileObserver]::setFileLogFormat :relfileprefix: ../../../ :mrdocs: Set the format specifications for log records written to the log file `logFileFormat`. 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 setFileLogFormat(char const* logFileFormat); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#