Skip to content

Commit

Permalink
Merge pull request #9 from tylercd100/master
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
tylercd100 committed Mar 27, 2016
2 parents 11edb72 + 209b8bf commit 1b6f3d8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ public function report(Exception $e)
}
```

Dont forget to add this to the top of the file
```php
//If you updated your aliases array in "config/app.php"
use LERN;
//or if you didnt...
use Tylercd100\LERN\Facades\LERN;
```

### Recording
You can call `LERN::record($exception);` to record an Exception to the database.
To query any Exception that has been recorded you can use `ExceptionModel` which is an Eloquent Model
Expand Down

0 comments on commit 1b6f3d8

Please sign in to comment.