Esempio n. 1
0
 private static function getLog4PhpLoader()
 {
     if (DF_Logger_Log4php_Version2::isSupported()) {
         return DF_Logger_Log4php_Version2::singleton();
     }
     if (DF_Logger_Log4php_OldVersion::isSupported()) {
         return DF_Logger_Log4php_OldVersion::singleton();
     }
     throw new DF_Logger_NotSupportedException("Unable to find an installed log4php instance");
 }