[#BloombergLP-ball-Category-ruleThreshold] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Category.adoc[Category]::ruleThreshold :relfileprefix: ../../../ :mrdocs: Return the maximum threshold for any rule associated with this category. == Synopsis Declared in `<ball_category.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ruleThreshold() const; ---- == Description Return the current maximum threshold (i.e., the lowest severity) for any logging rule associated with this category. Note that the rule having this threshold may not be active given the current thread's logging context (see `ball::AttributeContext`); this value caches the lowest possible severity where the currently rules need to be evaluated (log records below this threshold do not need any rule evaluation). == Return Value maximum threshold for any rule associated with this category [.small]#Created with https://www.mrdocs.com[MrDocs]#