-
-
Save uno-de-piera/92edee9bed60f48c4f6874d95113dddb to your computer and use it in GitHub Desktop.
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 | |
Debugbar::info($object); | |
Debugbar::error('Error!'); | |
Debugbar::warning('Watch out…'); | |
Debugbar::addMessage('Another message', 'mylabel'); | |
Debugbar::startMeasure('render','Time for rendering'); | |
Debugbar::stopMeasure('render'); | |
Debugbar::addMeasure('now', LARAVEL_START, microtime(true)); | |
Debugbar::measure('My long operation', function() { | |
// Do something… | |
}); | |
try { | |
throw new Exception('foobar'); | |
} catch (Exception $e) { | |
Debugbar::addThrowable($e); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment