mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
fix #9075 log example yml-config in docs
This commit is contained in:
parent
49c04bf9cc
commit
e652b3e421
@ -195,7 +195,7 @@ Only:
|
||||
SilverStripe\Core\Injector\Injector:
|
||||
Psr\Log\LoggerInterface.errorhandler:
|
||||
calls:
|
||||
pushDisplayErrorHandler: [ pushHandler, [ %$DisplayErrorHandler ]]
|
||||
pushMyDisplayErrorHandler: [ pushHandler, [ %$DisplayErrorHandler ]]
|
||||
DisplayErrorHandler:
|
||||
class: SilverStripe\Logging\HTTPOutputHandler
|
||||
constructor:
|
||||
@ -221,7 +221,7 @@ SilverStripe\Core\Injector\Injector:
|
||||
# Save errors to file
|
||||
pushFileLogHandler: [ pushHandler, [ %$LogFileHandler ]]
|
||||
# Format and display errors in the browser/CLI
|
||||
pushDisplayErrorHandler: [ pushHandler, [ %$DisplayErrorHandler ]]
|
||||
pushMyDisplayErrorHandler: [ pushHandler, [ %$DisplayErrorHandler ]]
|
||||
|
||||
# Custom handler to log to a file
|
||||
LogFileHandler:
|
||||
|
Loading…
Reference in New Issue
Block a user