Skip to content

Commit be2b216

Browse files
committed
update readme.md
1 parent 8591848 commit be2b216

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

readme.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,19 @@ To register service provider you need to add this line in your `config/app.php`
1919
],
2020
```
2121

22-
also, you need add this configuration in `config/logging.php` file.
22+
also, you need add this configuration in `config/logging.php` file in channels array.
2323

2424
``` php
25-
'logable' => [
26-
'driver' => 'daily',
27-
'path' => storage_path('logs/logable.log'),
28-
'level' => 'debug',
29-
],
25+
26+
'channels' => [
27+
.....
28+
'logable' => [
29+
'driver' => 'daily',
30+
'path' => storage_path('logs/logable.log'),
31+
'level' => 'debug',
32+
],
33+
]
34+
3035
```
3136

3237
Add this middleware to your `app/Http/Kernel.php` file.

0 commit comments

Comments
 (0)