[#BloombergLP-ball-LoggerManager-maxNumCategories] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/LoggerManager.adoc[LoggerManager]::maxNumCategories :relfileprefix: ../../../ :mrdocs: Return the current capacity of the category registry of this logger manager. A capacity of 0 implies that no limit will be imposed; otherwise, new categories may be added only if `numCategories() < maxNumCategories()`. Note that `0 < maxNumCategories() < numCategories()` _is_ a valid state, implying no new categories may be added. == Synopsis Declared in `<ball_loggermanager.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int maxNumCategories() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#