feat: integrate Monolog for enhanced logging across providers and controller
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
monolog:
|
||||
channels:
|
||||
- deprecation
|
||||
|
||||
when@dev:
|
||||
monolog:
|
||||
handlers:
|
||||
main:
|
||||
type: stream
|
||||
path: '%kernel.logs_dir%/%kernel.environment%.log'
|
||||
level: debug
|
||||
channels: ['!event']
|
||||
|
||||
when@prod:
|
||||
monolog:
|
||||
handlers:
|
||||
main:
|
||||
type: stream
|
||||
path: php://stderr
|
||||
level: warning
|
||||
channels: ['!event']
|
||||
deprecation:
|
||||
type: stream
|
||||
channels: [deprecation]
|
||||
path: '%kernel.logs_dir%/%kernel.environment%.deprecations.log'
|
||||
level: info
|
||||
Reference in New Issue
Block a user