Esempio n. 1
0
 /**
  * Returns the hierarchy used by this Logger.
  * Caution: do not use this hierarchy unless you have called initialize().
  * To get Loggers, use the Logger::getLogger and Logger::getRootLogger methods
  * instead of operating on on the hierarchy directly.
  * 
  * @deprecated - will be moved to private
  * @return Ideasa_Log4php_LoggerHierarchy
  */
 public static function getHierarchy()
 {
     if (!isset(self::$hierarchy)) {
         self::$hierarchy = new Ideasa_Log4php_LoggerHierarchy(new Ideasa_Log4php_LoggerRoot());
     }
     return self::$hierarchy;
 }