mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Rename pushHandler to pushLogger
This commit is contained in:
parent
1faf59fc54
commit
18293f7afe
@ -13,8 +13,8 @@ SilverStripe\Core\Injector\Injector:
|
|||||||
SilverStripe\Logging\ErrorHandler:
|
SilverStripe\Logging\ErrorHandler:
|
||||||
class: SilverStripe\Logging\MonologErrorHandler
|
class: SilverStripe\Logging\MonologErrorHandler
|
||||||
calls:
|
calls:
|
||||||
pushDefaultLogger: [ pushHandler, [ '%$Psr\Log\LoggerInterface' ] ]
|
pushDefaultLogger: [ pushLogger, [ '%$Psr\Log\LoggerInterface' ] ]
|
||||||
pushErrorHandler: [ pushHandler, [ '%$Psr\Log\LoggerInterface.errorhandler' ] ]
|
pushErrorHandler: [ pushLogger, [ '%$Psr\Log\LoggerInterface.errorhandler' ] ]
|
||||||
|
|
||||||
# Default implementation for use as a standard logger. Up to developers to attach their own
|
# Default implementation for use as a standard logger. Up to developers to attach their own
|
||||||
# handlers
|
# handlers
|
||||||
|
@ -163,7 +163,9 @@ SilverStripe\Core\Injector\Injector:
|
|||||||
- "info"
|
- "info"
|
||||||
```
|
```
|
||||||
|
|
||||||
The log file will be relative to the framework/ path, so "../silverstripe.log" will create a file in your project root.
|
The log file will be relative to the vendor/ path, so "../silverstripe.log" will create a file in your project root.
|
||||||
|
|
||||||
|
The `info` argument provides the minimum level to start logging at.
|
||||||
|
|
||||||
### Disabling the default handler
|
### Disabling the default handler
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user