diff options
Diffstat (limited to 'lib/Minz/Log.php')
| -rw-r--r-- | lib/Minz/Log.php | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/lib/Minz/Log.php b/lib/Minz/Log.php index e0e22e532..80b93a097 100644 --- a/lib/Minz/Log.php +++ b/lib/Minz/Log.php @@ -5,7 +5,7 @@ */ /** - * La classe Log permet de logger des erreurs + * The Minz_Log class is used to log errors and warnings */ class Minz_Log { /** @@ -108,20 +108,6 @@ class Minz_Log { } /** - * Automatise le log des variables globales $_GET et $_POST - * Fait appel à la fonction record(...) - * Ne fonctionne qu'en environnement "development" - * @param string $file_name fichier de log - */ - public static function recordRequest($file_name = null) { - $msg_get = str_replace("\n", '', '$_GET content : ' . print_r($_GET, true)); - $msg_post = str_replace("\n", '', '$_POST content : ' . print_r($_POST, true)); - - self::record($msg_get, LOG_DEBUG, $file_name); - self::record($msg_post, LOG_DEBUG, $file_name); - } - - /** * Some helpers to Minz_Log::record() method * Parameters are the same of those of the record() method. */ |
