src/CarteBlanche/App/Logger.php
protected function init(array $user_options = array(), $logname = null)
    {
        $app_config = CarteBlanche::getConfig('log', array(), true);
        $app_config['directory'] = CarteBlanche::getFullPath('log_dir');
        $user_config = CarteBlanche::getConfig('log', array());
        if (!empty($user_config)) {
            $config = array_merge($app_config, $user_config, $user_options);
        } else {
            $config = array_merge($app_config, $user_options);
        }
        parent::init($config, $logname);
    }
protected function init(array $user_options = array(), $logname = null)
    {
        $app_config = CarteBlanche::getConfig('log', array(), true);
        $app_config['directory'] = CarteBlanche::getFullPath('log_dir');
        $user_config = CarteBlanche::getConfig('log', array());
        if (!empty($user_config)) {
            $config = array_merge($app_config, $user_config, $user_options);
        } else {
            $config = array_merge($app_config, $user_options);
        }
        parent::init($config, $logname);
    }
Load the configuration infos

@param array $user_options
@param string $logname

@return void