Class ChannelManager
Manager of logging channels.
- Psr\Log\AbstractLogger
- Autarky\Logging\ChannelManager implements Psr\Log\LoggerInterface
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
#
setDeferredChannel( string $channel, callable $callback )
Define a deferred channel. The callback will be invoked and the return value passed to setChannel. The return value must implement Psr\Log\LoggerInterface. |
public
Psr\Log\LoggerInterface
|
|
public
|
protected
string
|
$defaultChannel
The name of the default channel to use. |
|
protected
Psr\Log\LoggerInterface
|
$channels
The defined channels. |
#
[]
|
protected
callable[]
|
$deferredChannels
The deferred channel callbacks. |
#
[]
|