You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ You will need to add an array under 'channels' for Log-to-DB here like so:
25
25
```php
26
26
'channels' => [
27
27
'stack' => [
28
+
'name' => 'Log Stack',
28
29
'driver' => 'stack',
29
30
'channels' => ['database', 'mongodb'],
30
31
],
@@ -47,7 +48,7 @@ You will need to add an array under 'channels' for Log-to-DB here like so:
47
48
* driver = Required to trigger the log driver.
48
49
* via = The Log handler class.
49
50
* level = The minimum error level to trigger this Log Channel.
50
-
* name = The channel name that will be stored with the Log event.
51
+
* name = The channel name that will be stored with the Log event. Please note that if you use the stack driver the name value in the stack array is used.
51
52
* connection = The DB connection from config/database.php to use (default: 'default').
52
53
* collection = The DB table or collection name. (Default: log).
53
54
* detailed = Store detailed log on Exceptions like stack-trace (default: true).
0 commit comments