public static function write($output)
  {
    if (self::$enabled) {
      $d = new \DateTime();
      $f = new File(self::$logFilePath, true);
      $f->write($d->format('d/m/Y H:i:s') . ' - ' . $output . "\n", true);
    }
  }
public static function write($output)
  {
    if (self::$enabled) {
      $d = new \DateTime();
      $f = new File(self::$logFilePath, true);
      $f->write($d->format('d/m/Y H:i:s') . ' - ' . $output . "\n", true);
    }
  }
public static function write ( $ output ) { if ( self :: $ enabled ) { $ d = new \ DateTime ( ) ; $ f = new File ( self :: $ logFilePath , true ) ; $ f -> write ( $ d -> format ( 'd/m/Y H:i:s' ) . ' - ' . $ output . "\n" , true ) ; } }
Ecrire dans les logs

@param string $output  Ligne à écrire
Ecrire dans les logs