fix #9075 log example yml-config in docs

This commit is contained in:
lerni 2019-06-18 09:17:25 +02:00
parent 49c04bf9cc
commit e652b3e421

View File

@ -195,7 +195,7 @@ Only:
SilverStripe\Core\Injector\Injector: SilverStripe\Core\Injector\Injector:
Psr\Log\LoggerInterface.errorhandler: Psr\Log\LoggerInterface.errorhandler:
calls: calls:
pushDisplayErrorHandler: [ pushHandler, [ %$DisplayErrorHandler ]] pushMyDisplayErrorHandler: [ pushHandler, [ %$DisplayErrorHandler ]]
DisplayErrorHandler: DisplayErrorHandler:
class: SilverStripe\Logging\HTTPOutputHandler class: SilverStripe\Logging\HTTPOutputHandler
constructor: constructor:
@ -221,7 +221,7 @@ SilverStripe\Core\Injector\Injector:
# Save errors to file # Save errors to file
pushFileLogHandler: [ pushHandler, [ %$LogFileHandler ]] pushFileLogHandler: [ pushHandler, [ %$LogFileHandler ]]
# Format and display errors in the browser/CLI # Format and display errors in the browser/CLI
pushDisplayErrorHandler: [ pushHandler, [ %$DisplayErrorHandler ]] pushMyDisplayErrorHandler: [ pushHandler, [ %$DisplayErrorHandler ]]
# Custom handler to log to a file # Custom handler to log to a file
LogFileHandler: LogFileHandler: