예제 #1
0
 /**
  * Load the defined configuration and create all the defined logging
  * adapters.
  *
  * @return void
  */
 protected static function _loadConfig()
 {
     foreach (static::$_config as $name => $properties) {
         if (isset($properties['engine'])) {
             $properties['className'] = $properties['engine'];
         }
         if (!static::$_registry->has($name)) {
             static::$_registry->load($name, $properties);
         }
     }
 }