Class ChannelsRegistry
Defined in File data_tamer.hpp
Class Documentation
-
class ChannelsRegistry
Public Functions
-
ChannelsRegistry()
-
~ChannelsRegistry()
Once added here, this sink will be automatically connected to any new channel created with getChannel()
-
std::shared_ptr<LogChannel> getChannel(std::string const &channel_name)
Create a new channel or get a previously create one.
-
void clear()
remove all channels and stored sinks
Public Static Functions
-
static ChannelsRegistry &Global()
-
ChannelsRegistry()