Class ChannelsRegistry

Class Documentation

class ChannelsRegistry

Public Functions

ChannelsRegistry()
~ChannelsRegistry()
void addDefaultSink(std::shared_ptr<DataSinkBase> sink)

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()