Update 01_Error_Handling.md

Indentation error causes yaml parsing error.
This commit is contained in:
Zaid Al-Dabbagh 2016-09-12 10:51:30 +12:00 committed by GitHub
parent 90e2f56a22
commit d0aa0cb911

View File

@ -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.