[#BloombergLP-ball-LoggerFunctorPayloads-loadParentCategoryThresholdValues]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/LoggerFunctorPayloads.adoc[LoggerFunctorPayloads]::loadParentCategoryThresholdValues
:relfileprefix: ../../../
:mrdocs:

Load threshold levels from the nearest hierarchical parent category&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
loadParentCategoryThresholdValues(
    int* recordLevel,
    int* passLevel,
    int* triggerLevel,
    int* triggerAllLevel,
    char const* categoryName,
    char delimiter);
----

== Description

Load into the specified `recordLevel`, `passLevel`, `triggerLevel`, and `triggerAllLevel` the respective threshold levels of the category in the registry of the (singleton) `ball` logger manager that is the most proximate parent category of the category having the specified `categoryName` among existing hierarchically named categories in the registry, if such a parent category exists, or the default thresholds otherwise&semi; use the specified `delimiter` to define hierarchical category names&period; The behavior is undefined unless the logger manager singleton has been initialized and is not in the process of being shut down&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *recordLevel*
| loaded with the parent (or default) record threshold
| *passLevel*
| loaded with the parent (or default) pass threshold
| *triggerLevel*
| loaded with the parent (or default) trigger threshold
| *triggerAllLevel*
| loaded with the parent (or default) trigger&hyphen;all threshold
| *categoryName*
| hierarchical name whose parent thresholds are sought
| *delimiter*
| character that separates hierarchical name components
|===


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