Example #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.
  *
  * @return Payone_Log4php_LoggerHierarchy
  */
 public static function getHierarchy()
 {
     if (!isset(self::$hierarchy)) {
         self::$hierarchy = new Payone_Log4php_LoggerHierarchy(new Payone_Log4php_LoggerRoot());
     }
     return self::$hierarchy;
 }