[#BloombergLP-ball-Log-categoryHolderIfEnabled] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Log.adoc[Log]::categoryHolderIfEnabled :relfileprefix: ../../../ :mrdocs: Return the specified `categoryHolder` if the severity warrants logging according to the specified `t_SEVERITY` and `categoryHolder`, and 0 otherwise. == Synopsis Declared in `<ball_log.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<int t_SEVERITY> static xref:BloombergLP/ball/CategoryHolder.adoc[CategoryHolder] const* categoryHolderIfEnabled(xref:BloombergLP/ball/CategoryHolder.adoc[CategoryHolder] const* categoryHolder); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#