feat: integrate Monolog for enhanced logging across providers and controller

This commit is contained in:
haylan committed 2026-05-29 18:57:25 +02:00
1 parent 8b8ec9ab2f
commit cceda8abf2
11 files changed
+226 -2

No files matched your search

+26
View File
@@ -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