Updated 01_Error_Handling.md (#6128)

Corrected indentation in yaml
This commit is contained in:
Antony Thorpe 2016-11-01 18:11:10 +13:00 committed by Sam Minnée
parent c056362b54
commit 148126fb79

View File

@ -156,11 +156,10 @@ non-dev.
Logger: Logger:
calls: calls:
- [ pushHandler, [ %$DisplayErrorHandler ]] - [ pushHandler, [ %$DisplayErrorHandler ]]
DisplayErrorHandler: DisplayErrorHandler:
class: SilverStripe\Framework\Logging\HTTPOutputHandler class: SilverStripe\Framework\Logging\HTTPOutputHandler
constructor: constructor:
- "notice" - "notice"
properties: properties:
Formatter: %$SilverStripe\Framework\Logging\DetailedErrorFormatter Formatter: %$SilverStripe\Framework\Logging\DetailedErrorFormatter
--- ---
@ -173,15 +172,14 @@ non-dev.
calls: calls:
- [ pushHandler, [ %$LogFileHandler ]] - [ pushHandler, [ %$LogFileHandler ]]
- [ pushHandler, [ %$DisplayErrorHandler ]] - [ pushHandler, [ %$DisplayErrorHandler ]]
LogFileHander: LogFileHander:
class: Monolog\Handler\StreamHandler class: Monolog\Handler\StreamHandler
constructor: constructor:
- "../silverstripe.log" - "../silverstripe.log"
- "notice" - "notice"
properties: properties:
Formatter: %$Monolog\Formatter\HtmlFormatter Formatter: %$Monolog\Formatter\HtmlFormatter
ContentType: text/html ContentType: text/html
DisplayErrorHandler: DisplayErrorHandler:
class: SilverStripe\Framework\Logging\HTTPOutputHandler class: SilverStripe\Framework\Logging\HTTPOutputHandler
constructor: constructor: