Remove the named observer from the registry.
Synopsis
Declared in <ball_loggermanager.h>
int
deregisterObserver(std::string_view const& observerName);
Description
Remove the observer having the specified observerName from the registry of observers maintained by this logger manager. Return 0 if the observer having observerName was successfully deregistered from this logger manager, and a non‐zero value (with no effect) otherwise. Henceforth, the observer that had observerName will no longer receive log records published by this logger manager.
Return Value
0 if the observer was successfully deregistered, and a non‐zero value otherwise
Parameters
Name |
Description |
observerName |
name of the observer to deregister |
Created with MrDocs