[#BloombergLP-ball-Administration-maxNumCategories] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Administration.adoc[Administration]::maxNumCategories :relfileprefix: ../../../ :mrdocs: Return the current capacity of the registry of the logger manager singleton. A capacity of 0 implies no limit will be imposed; otherwise, new categories may be added only if `numCategories() < maxNumCategories()`. The behavior is undefined unless the logger manager singleton has been initialized and is not in the process of being shut down. Note that `0 < maxNumCategories() < numCategories()` _is_ a valid state, implying no new categories may be added. == Synopsis Declared in `<ball_administration.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int maxNumCategories(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#