interface LoggerChannelFactoryInterface (View source)

Logger channel factory interface.

Methods

get($channel)

Retrieves the registered logger for the requested channel.

addLogger(LoggerInterface $logger, int $priority = 0)

Adds a logger to all the channels.

Details

LoggerChannelInterface get($channel)

Retrieves the registered logger for the requested channel.

Parameters

$channel

Return Value

LoggerChannelInterface

The registered logger for this channel.

addLogger(LoggerInterface $logger, int $priority = 0)

Adds a logger to all the channels.

Parameters

LoggerInterface $logger

The PSR-3 logger to add.

int $priority

The priority of the logger being added.

See also

LoggerPass