[#BloombergLP-ball-AsyncFileObserver-getLogFormat]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/AsyncFileObserver.adoc[AsyncFileObserver]::getLogFormat
:relfileprefix: ../../../
:mrdocs:

Load the log&hyphen;file and `stdout` format specifications&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
getLogFormat(
    char const** logFileFormat,
    char const** stdoutFormat) const;
----

== Description

Load the format specification for log records written by this async file observer to the log file into the specified `&ast;logFileFormat` address and the format specification for log records written to `stdout` into the specified `&ast;stdoutFormat` address&period; See &lcub;Log Record Formatting&rcub; for details on the syntax of format specifications&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *logFileFormat*
| output location for the log&hyphen;file format string
| *stdoutFormat*
| output location for the `stdout` format string
|===


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