1Debugbar::info($object);
2Debugbar::error('Error!');
3Debugbar::warning('Watch out…');
4Debugbar::addMessage('Another message', 'mylabel');
1if (env('APP_DEBUG')) {
2 $app->register(Barryvdh\Debugbar\LumenServiceProvider::class);
3}
1Debugbar::startMeasure('render','Time for rendering');
2Debugbar::stopMeasure('render');
3Debugbar::addMeasure('now', LARAVEL_START, microtime(true));
4Debugbar::measure('My long operation', function() {
5 // Do something…
6});