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
'log' => __DIR__ '/logs/db.log', // string, callable or object
447
+
]);
448
+
```
449
+
450
+
If you define a file path as a String; Attempts are made to write into it with `file_put_contents()`.
451
+
452
+
_Note :_ You can define variables such as `{year}`, `{month}`, `{day}` in the filename.
453
+
454
+
- You can also define an object with the `critical` method. The database library will pass the log message to this method as a parameter. Or define it as callable array to use any method of the object.
0 commit comments