mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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:
|
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user