Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

ball::LoggerFunctorPayloads Struct Reference

#include <ball_loggerfunctorpayloads.h>

List of all members.

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.

See Component ball_loggerfunctorpayloads


Member Function Documentation

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: