This channel sends a message to multiple channels simultaneously.
Direct Base Classes: Channel
All Base Classes: Channel, Configurable, RefCountedObject
Known Derived Classes: Poco::Net::RemoteSyslogListener
Member Functions: addChannel, close, count, log, removeChannel, setProperty
Inherited Functions: close, duplicate, getProperty, log, open, referenceCount, release, setProperty
using Ptr = AutoPtr < SplitterChannel >;
Creates the SplitterChannel.
Attaches a channel, which may not be null.
Removes all channels.
See also: Poco::Channel::close()
int count() const;
Returns the number of channels in the SplitterChannel.
const Message & msg
Sends the given Message to all attaches channels.
See also: Poco::Channel::log()
Removes a channel.
const std::string & name,
const std::string & value
Sets or changes a configuration property.
Only the "channel" property is supported, which allows adding a comma-separated list of channels via the LoggingRegistry. The "channel" property is set-only. To simplify file-based configuration, all property names starting with "channel" are treated as "channel".
See also: Poco::Channel::setProperty()