BloombergLP::ball::BroadcastObserver::deregisterObserver

Remove the named observer from the registry.

Synopsis

Declared in <ball_broadcastobserver.h>

int
deregisterObserver(std::string_view const& observerName);

Description

Remove the observer having the specified observerName from the registry of this broadcast observer. Return 0 if the observer having observerName was successfully deregistered, and a non-zero value (with no effect) otherwise. Henceforth, the observer that had observerName will no longer receive log records from this observer.

Return Value

0 on success, or a non-zero value otherwise

Parameters

NameDescription
observerNamename of the observer to deregister