mirror of
https://github.com/symfony/recipes.git
synced 2026-09-18 02:26:31 +03:00
38 lines
1.5 KiB
JSON
38 lines
1.5 KiB
JSON
{
|
|
"manifests": {
|
|
"easycorp/easy-log-handler": {
|
|
"manifest": {
|
|
"copy-from-recipe": {
|
|
"etc/": "%ETC_DIR%/"
|
|
}
|
|
},
|
|
"files": {
|
|
"etc/packages/dev/easy-log-handler.yaml": {
|
|
"contents": [
|
|
"services:",
|
|
" easycorp.easylog.handler:",
|
|
" class: EasyCorp\\EasyLog\\EasyLogHandler",
|
|
" public: false",
|
|
" arguments: ['%kernel.logs_dir%/%kernel.environment%.log']",
|
|
"",
|
|
"#// FIXME: How to add this configuration automatically without messing up with the monolog configuration?",
|
|
"#monolog:",
|
|
"# handlers:",
|
|
"# buffered:",
|
|
"# type: buffer",
|
|
"# handler: easylog",
|
|
"# channels: ['!event']",
|
|
"# level: debug",
|
|
"# easylog:",
|
|
"# type: service",
|
|
"# id: easycorp.easylog.handler",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "86abb7352ddd4c48593f4b2c9ad805f82532b4ee"
|
|
}
|
|
}
|
|
}
|