We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8591848 commit be2b216Copy full SHA for be2b216
readme.md
@@ -19,14 +19,19 @@ To register service provider you need to add this line in your `config/app.php`
19
],
20
```
21
22
-also, you need add this configuration in `config/logging.php` file.
+also, you need add this configuration in `config/logging.php` file in channels array.
23
24
``` php
25
-'logable' => [
26
- 'driver' => 'daily',
27
- 'path' => storage_path('logs/logable.log'),
28
- 'level' => 'debug',
29
-],
+
+'channels' => [
+ .....
+ 'logable' => [
+ 'driver' => 'daily',
30
+ 'path' => storage_path('logs/logable.log'),
31
+ 'level' => 'debug',
32
+ ],
33
+]
34
35
36
37
Add this middleware to your `app/Http/Kernel.php` file.
0 commit comments