Skip to content

Commit

Permalink
Merge pull request getsentry#233 from mfn/patch-1
Browse files Browse the repository at this point in the history
Fix variable used in example
  • Loading branch information
dcramer committed Sep 3, 2015
2 parents 0da7c6d + 2c0425a commit e370f53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/integrations/laravel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To configure logging, pop open your ``bootstrap/app.php`` file, and insert the f
$handler = new Monolog\Handler\RavenHandler($client);
$handler->setFormatter(new Monolog\Formatter\LineFormatter("%message% %context% %extra%\n"));

$monolog->pushHandler($ravenHandler);
$monolog->pushHandler($handler);
});

Laravel 4.x
Expand All @@ -32,4 +32,4 @@ To configure logging, pop open your ``app/start/global.php`` file, and insert th
$handler->setFormatter(new Monolog\Formatter\LineFormatter("%message% %context% %extra%\n"));

$monolog = Log::getMonolog();
$monolog->pushHandler($ravenHandler);
$monolog->pushHandler($handler);

0 comments on commit e370f53

Please sign in to comment.