File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ Uses Laravel native logging functionality.
77require danielme85/laravel-log-to-db
88```
99
10-
11- ###Configuration
10+ ### Configuration
1211Starting with Laravel 5.6 you will have a new settings file: "config/logging.php".
1312You will need to add an array under 'channels' for Log-to-DB here like so:
1413``` php
@@ -55,11 +54,11 @@ You can log multiple levels to multiple DB connections... the possibilities are
5554]
5655```
5756
58- ###Usage
57+ ### Usage
5958Since this is a custom log channel for Laravel, all "standard" ways of generating log events etc should work with
6059the Laravel Log Facade. See https://laravel.com/docs/5.6/logging for more information.
6160
62- ####Viewing/Getting The Log
61+ #### Viewing/Getting The Log
6362The logging by this channel is done trough the Eloquent Model builder. To get access to the underlying models use:
6463``` php
6564$log = danielme85\LaravelLogToDB\LogToDB::model();
You can’t perform that action at this time.
0 commit comments