Create a category having the specified name and threshold levels.
Declared in <ball_category.h>
Category(
std::string_view const& categoryName,
int recordLevel,
int passLevel,
int triggerLevel,
int triggerAllLevel,
bslma::Allocator* basicAllocator = 0);
Create a category having the specified categoryName and the specified recordLevel, passLevel, triggerLevel, and triggerAllLevel threshold values, respectively. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless each of the specified threshold levels is in the range [0 .. 255].
| Name | Description |
|---|---|
| categoryName | name of the category |
| recordLevel | record threshold level |
| passLevel | pass threshold level |
| triggerLevel | trigger threshold level |
| triggerAllLevel | trigger-all threshold level |
| basicAllocator | memory allocator; null uses the default |