예제 #1
0
파일: Logger.php 프로젝트: reoring/sabel
 public static function create()
 {
     if (self::$instance === null) {
         self::$instance = new self();
         self::$instance->addLogger(new Sabel_Logger_File());
         register_shutdown_function(array(self::$instance, "output"));
     }
     return self::$instance;
 }