Created
May 6, 2012 18:20
-
-
Save nWidart/2623631 to your computer and use it in GitHub Desktop.
FirePHP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Log d'un message classique | |
$this->firephp->log('votre message'); | |
// Log d'une variable (array/string/objet) | |
$this->firephp->log($data); | |
// Log d'un message de type 'info' (background jaune) | |
$this->firephp->info('votre message'); | |
// Log d'un message de type 'warn' (background orange) | |
$this->firephp->warn('votre message'); | |
// Log d'un message de type 'error' (background rouge) | |
$this->firephp->error('votre message'); | |
// Créer un groupe de messages | |
$this->firephp->group('Nom de groupe'); | |
// intérieur du groupe | |
// Fermer le groupe | |
$this->firephp->groupEnd(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment