BDE 4.14.0 Production release
Loading...
Searching...
No Matches
ball::LoggerFunctorPayloads Struct Reference

#include <ball_loggerfunctorpayloads.h>

Static Public Member Functions

static void loadParentCategoryThresholdValues (int *recordLevel, int *passLevel, int *triggerLevel, int *triggerAllLevel, const char *categoryName, char delimiter)
 

Detailed Description

This struct provides a namespace for a suite of utility functions, each of which may be used as the function body for an appropriate bsl::function callback functor within ball_loggermanager .

WARNING: Note that all functions are intended for use with the logger manager singleton only, and not with any non-singleton instances of ball::LoggerManager.

Member Function Documentation

◆ loadParentCategoryThresholdValues()

static void ball::LoggerFunctorPayloads::loadParentCategoryThresholdValues ( int *  recordLevel,
int *  passLevel,
int *  triggerLevel,
int *  triggerAllLevel,
const char *  categoryName,
char  delimiter 
)
static

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; use the specified delimiter to define hierarchical category names. The behavior is undefined unless the logger manager singleton has been initialized and is not in the process of being shut down.


The documentation for this struct was generated from the following file: