addSpecificPublisher overloads
Synopses
Declared in <balm_metricsmanager.h>
Add a publisher used only for the specified category.
int
addSpecificPublisher(
Category const* category,
bsl::shared_ptr<Publisher> const& publisher);
Add the specified publisher for the named category.
int
addSpecificPublisher(
char const* categoryName,
bsl::shared_ptr<Publisher> const& publisher);
Return Value
-
0 on success, and a non‐zero value with no effect if
publisherhas already been registered forcategory -
0 on success, and a non‐zero value with no effect if
publisherhas already been registered for the named category
Parameters
Name |
Description |
category |
category for which to register the publisher |
publisher |
publisher to register for |
categoryName |
null‐terminated category name |
Created with MrDocs