mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
add single quotes
This commit is contained in:
parent
e652b3e421
commit
0c7458cd21
@ -128,7 +128,7 @@ To send emails, you can use Monolog's [NativeMailerHandler](https://github.com/S
|
|||||||
SilverStripe\Core\Injector\Injector:
|
SilverStripe\Core\Injector\Injector:
|
||||||
Psr\Log\LoggerInterface:
|
Psr\Log\LoggerInterface:
|
||||||
calls:
|
calls:
|
||||||
MailHandler: [ pushHandler, [ %$MailHandler ] ]
|
MailHandler: [ pushHandler, [ '%$MailHandler' ] ]
|
||||||
MailHandler:
|
MailHandler:
|
||||||
class: Monolog\Handler\NativeMailerHandler
|
class: Monolog\Handler\NativeMailerHandler
|
||||||
constructor:
|
constructor:
|
||||||
@ -155,7 +155,7 @@ To log to a file, you can use Monolog's [StreamHandler](https://github.com/Selda
|
|||||||
SilverStripe\Core\Injector\Injector:
|
SilverStripe\Core\Injector\Injector:
|
||||||
Psr\Log\LoggerInterface:
|
Psr\Log\LoggerInterface:
|
||||||
calls:
|
calls:
|
||||||
LogFileHandler: [ pushHandler, [ %$LogFileHandler ] ]
|
LogFileHandler: [ pushHandler, [ '%$LogFileHandler' ] ]
|
||||||
LogFileHandler:
|
LogFileHandler:
|
||||||
class: Monolog\Handler\StreamHandler
|
class: Monolog\Handler\StreamHandler
|
||||||
constructor:
|
constructor:
|
||||||
@ -195,7 +195,7 @@ Only:
|
|||||||
SilverStripe\Core\Injector\Injector:
|
SilverStripe\Core\Injector\Injector:
|
||||||
Psr\Log\LoggerInterface.errorhandler:
|
Psr\Log\LoggerInterface.errorhandler:
|
||||||
calls:
|
calls:
|
||||||
pushMyDisplayErrorHandler: [ pushHandler, [ %$DisplayErrorHandler ]]
|
pushMyDisplayErrorHandler: [ pushHandler, [ '%$DisplayErrorHandler' ]]
|
||||||
DisplayErrorHandler:
|
DisplayErrorHandler:
|
||||||
class: SilverStripe\Logging\HTTPOutputHandler
|
class: SilverStripe\Logging\HTTPOutputHandler
|
||||||
constructor:
|
constructor:
|
||||||
@ -213,15 +213,15 @@ SilverStripe\Core\Injector\Injector:
|
|||||||
Psr\Log\LoggerInterface:
|
Psr\Log\LoggerInterface:
|
||||||
calls:
|
calls:
|
||||||
# Save system logs to file
|
# Save system logs to file
|
||||||
pushFileLogHandler: [ pushHandler, [ %$LogFileHandler ]]
|
pushFileLogHandler: [ pushHandler, [ '%$LogFileHandler' ]]
|
||||||
|
|
||||||
# Core error handler for system use
|
# Core error handler for system use
|
||||||
Psr\Log\LoggerInterface.errorhandler:
|
Psr\Log\LoggerInterface.errorhandler:
|
||||||
calls:
|
calls:
|
||||||
# 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
|
||||||
pushMyDisplayErrorHandler: [ pushHandler, [ %$DisplayErrorHandler ]]
|
pushMyDisplayErrorHandler: [ pushHandler, [ '%$DisplayErrorHandler' ]]
|
||||||
|
|
||||||
# Custom handler to log to a file
|
# Custom handler to log to a file
|
||||||
LogFileHandler:
|
LogFileHandler:
|
||||||
|
Loading…
Reference in New Issue
Block a user