[#BloombergLP-ball-LoggerManager-lookupCategory-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/LoggerManager.adoc[LoggerManager]::lookupCategory
:relfileprefix: ../../../
:mrdocs:

Return the address of the modifiable category named `categoryName`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/Category.adoc[Category]*
lookupCategory(char const* categoryName);
----

== Description

Return the address of the modifiable category in the category registry of this logger manager having the specified `categoryName`, or 0 if no such category exists&period; The behavior is undefined unless `categoryName` is null&hyphen;terminated&period;

== Return Value

address of the modifiable category, or 0 if none exists

== Parameters

[cols="1,4"]
|===
| Name| Description
| *categoryName*
| name of the category to look up
|===


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