class AdvancedConfiguration implements ConfigurationInterface (View source)

Properties

protected $config

Methods

__construct($config)

No description

prepareConfig(array $config)

Takes the config array we're going to pass to monolog cascade and transforms it a bit. For example, if we have configuration we need to apply to all channels, we loop through all the channels in the channels class and add them to the config array.

LoggerInterface
createLogger(string $channel)

Create a new logger instance for a specific logigng channel.

Details

__construct($config)

No description

Parameters

$config

protected prepareConfig(array $config)

Takes the config array we're going to pass to monolog cascade and transforms it a bit. For example, if we have configuration we need to apply to all channels, we loop through all the channels in the channels class and add them to the config array.

Parameters

array $config

LoggerInterface createLogger(string $channel)

Create a new logger instance for a specific logigng channel.

Parameters

string $channel

The name of logging channel

Return Value

LoggerInterface

See also

ConfigurationInterface::createLogger