[#BloombergLP-ball-RecordAttributes-setCategory]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/RecordAttributes.adoc[RecordAttributes]::setCategory
:relfileprefix: ../../../
:mrdocs:

Set the category attribute of this record attributes object to the specified `category`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setCategory(std::string&lowbar;view const& category);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *category*
| category of logged record
|===


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