mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #5982 from pandauxstudio/patch-1
Update 01_Error_Handling.md
This commit is contained in:
commit
1c021bd3e4
@ -125,9 +125,9 @@ To log to a file, you can use Monolog's [StreamHandler](https://github.com/Selda
|
||||
LogFileHandler: [ pushHandler, [ %$LogFileHandler ] ]
|
||||
LogFileHandler:
|
||||
class: Monolog\Handler\StreamHandler
|
||||
constructor:
|
||||
- "../silverstripe.log"
|
||||
- "info"
|
||||
constructor:
|
||||
- "../silverstripe.log"
|
||||
- "info"
|
||||
|
||||
The log file will be relative to the framework/ path, so "../silverstripe.log" will create a file in your project root.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user