BloombergLP::ball::LoggerManager::removeRule

Remove the rule having the specified value.

Synopsis

Declared in <ball_loggermanager.h>

int
removeRule(Rule const& value);

Description

Remove the rule having the specified value from this set of rules maintained by this object. Return the number of rules removed (i.e., 1 on success and 0 if no rule having the same value is found.)

Return Value

number of rules removed (1 on success, 0 if not found)

Parameters

NameDescription
valuerule to remove from the set of rules