WP File Manager
Current Path:
/
home
/
argothem
/
www
/
organecyberpresse
/
plugins-dist
/
bigup
/
inc
/
Bigup
/
Name
Action
..
Cache.php
Edit
CacheFichiers.php
Edit
CacheRepertoire.php
Edit
Files.php
Edit
Flow.php
Edit
Formulaire.php
Edit
GestionRepertoires.php
Edit
Identifier.php
Edit
LogTrait.php
Edit
Repondre.php
Edit
Editing: LogTrait.php
<?php namespace Spip\Bigup; /** * Trait de log de bigup * * @plugin Bigup * @copyright 2015 * @author marcimat * @licence GNU/GPL * @package SPIP\Bigup\Fonctions */ /** * Gère les logs de bigup **/ trait LogTrait { /** * Des logs * * @param mixed $quoi * @param int $gravite **/ public static function log($quoi, $gravite = _LOG_INFO_IMPORTANTE) { spip_log($quoi, 'bigup.' . $gravite); } public static function debug($quoi) { return self::log($quoi, _LOG_DEBUG); } public static function error($quoi) { return self::log($quoi, _LOG_ERREUR); } public static function info($quoi) { return self::log($quoi, _LOG_INFO); } }