protected function configureLoggers()
    {
        $loggers = array();
        foreach ($this->extractConfig('logging') as $name => $config) {
            $logger = LoggerBase::factory($name);
            $logger->configure((array)$config);
            $logger->initialize();
            $logKey = isset($config['name']) ? $config['name'] : $name;
            $loggers[$logKey] = $logger;
        }

        if (Strata::isBundledServer()) {
            $logger = LoggerBase::factory('Console');
            $logger->initialize();
            $loggers['StrataConsole'] = $logger;
        }

        $this->setConfig('runtime.loggers', $loggers);
    }
protected function configureLoggers()
    {
        $loggers = array();
        foreach ($this->extractConfig('logging') as $name => $config) {
            $logger = LoggerBase::factory($name);
            $logger->configure((array)$config);
            $logger->initialize();
            $logKey = isset($config['name']) ? $config['name'] : $name;
            $loggers[$logKey] = $logger;
        }

        if (Strata::isBundledServer()) {
            $logger = LoggerBase::factory('Console');
            $logger->initialize();
            $loggers['StrataConsole'] = $logger;
        }

        $this->setConfig('runtime.loggers', $loggers);
    }
protected function configureLoggers ( ) { $ loggers = array ( ) ; foreach ( $ this -> extractConfig ( 'logging' ) as $ name => $ config ) { $ logger = LoggerBase :: factory ( $ name ) ; $ logger -> configure ( ( array ) $ config ) ; $ logger -> initialize ( ) ; $ logKey = isset ( $ config [ 'name' ] ) ? $ config [ 'name' ] : $ name ; $ loggers [ $ logKey ] = $ logger ; } if ( Strata :: isBundledServer ( ) ) { $ logger = LoggerBase :: factory ( 'Console' ) ; $ logger -> initialize ( ) ; $ loggers [ 'StrataConsole' ] = $ logger ; } $ this -> setConfig ( 'runtime.loggers' , $ loggers ) ; }
Configures the global Logger instance
Configures the global Logger instance