[#BloombergLP-ball-Category-ruleThreshold]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Category.adoc[Category]::ruleThreshold
:relfileprefix: ../../../
:mrdocs:

Return the current maximum threshold (i&period;e&period;, the lowest severity) for any logging rule associated with this category&period; Note that the rule having this threshold may not be active given the current thread&apos;s logging context (see `ball&colon;&colon;AttributeContext`)&semi; 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)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
ruleThreshold() const;
----


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