Esempio n. 1
0
 public static function getLog($classType)
 {
     if (NULL == self::$logger) {
         self::$logger = new Log();
     }
     return self::$logger;
 }
Esempio n. 2
0
 public static function getLog($classType)
 {
     if (NULL == self::$logger) {
         self::$logger = new Log();
         if (defined('AUTHORIZENET_LOG_FILE')) {
             self::$logger->setLogFile(AUTHORIZENET_LOG_FILE);
         }
     }
     return self::$logger;
 }