mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update 01_Error_Handling.md
Indentation error causes yaml parsing error.
This commit is contained in:
parent
90e2f56a22
commit
d0aa0cb911
@ -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