[#BloombergLP-ball-Record-setCustomFields]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Record.adoc[Record]::setCustomFields
:relfileprefix: ../../../
:mrdocs:

Set the custom user&hyphen;defined fields of this log record to the value of the specified `userFields`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setCustomFields(xref:BloombergLP/ball/UserFields.adoc[ball::UserFields] const& userFields);
----

== Description

DEPRECATED&colon; Use log record attributes&period;


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