Beispiel #1
0
 public static function getLogger()
 {
     if (!Clover::$logger) {
         $instance = new CloverLogger();
         $instance->setLogDir(Clover::$log_dir);
         Clover::$logger = $instance;
     }
     return Clover::$logger;
 }