Example #1
0
 public static function getLog($classType)
 {
     if (NULL == self::$logger) {
         self::$logger = new Log();
     }
     return self::$logger;
 }
Example #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;
 }