lithium\analysis\Logger::_initConfig()

protected static method

This method is called automatically to initialize the default configuration of a log adapter, such that the adapter defaults to accepting log messages of any priority (i.e. the 'priority' key is set to true).

Parameters

  • string $name

    The name of the logger configuration.

  • array $config

    The logger configuration as specified in application code.

Returns

array

Returns an array of configuration data, merged with default values.

Source

	protected static function _initConfig($name, $config) {
		$defaults = array('priority' => true);
		return parent::_initConfig($name, $config) + $defaults;
	}