[#BloombergLP-ball-FileObserver-publish-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/FileObserver.adoc[FileObserver]::publish :relfileprefix: ../../../ :mrdocs: Process the specified log `record` having the specified publishing `context` by writing `record` and `context` to the current log file if file logging is enabled for this file observer, and to `stdout` if the severity of `record` is at least as severe as the value returned by `stdoutThreshold`. == Synopsis Declared in `<ball_fileobserver.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void publish( xref:BloombergLP/ball/Record.adoc[Record] const& record, xref:BloombergLP/ball/Context.adoc[Context] const& context) override; ---- == Description DEPRECATED: Do not use. [.small]#Created with https://www.mrdocs.com[MrDocs]#