Merge pull request #5982 from pandauxstudio/patch-1

Update 01_Error_Handling.md
This commit is contained in:
Ingo Schommer 2016-09-12 18:35:49 +12:00 committed by GitHub
commit 1c021bd3e4

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.