[#BloombergLP-ball-FileObserver-enableStdoutLoggingPrefix]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/FileObserver.adoc[FileObserver]::enableStdoutLoggingPrefix
:relfileprefix: ../../../
:mrdocs:

Enable the long output format when logging to `stdout`&period;

== Synopsis

Declared in `&lt;ball&lowbar;fileobserver&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
enableStdoutLoggingPrefix();
----

== Description

Enable this file observer to use the long output format when logging to `stdout`&period; Henceforth, this file observer will use the output format for `stdout` logging that was set by the most recent call to `setLogFormat`, or the default long output format (&quot;n%d %p&colon;%t %s %f&colon;%l %c %m %un&quot;) if `setLogFormat` has not yet been called&period; This method has no effect if the long output format for `stdout` logging is already enabled&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
