Skip to content

Commit a51dac6

Browse files
committed
Fix readme headers and trigger Travis testing.
1 parent ac57d9c commit a51dac6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

readme.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ Uses Laravel native logging functionality.
77
require danielme85/laravel-log-to-db
88
```
99

10-
11-
###Configuration
10+
### Configuration
1211
Starting with Laravel 5.6 you will have a new settings file: "config/logging.php".
1312
You 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
5958
Since this is a custom log channel for Laravel, all "standard" ways of generating log events etc should work with
6059
the 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
6362
The 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();

0 commit comments

Comments
 (0)