Add datana-gmbh/logz-io-handler (#1380)

This commit is contained in:
Oskar Stark
2022-03-31 15:22:36 +02:00
committed by GitHub
parent 7068560715
commit 7e97b4d55e
2 changed files with 19 additions and 0 deletions
@@ -0,0 +1,10 @@
services:
Inpsyde\LogzIoMonolog\Handler\LogzIoHandler:
arguments:
$token: '%env(LOGZ_IO_TOKEN)%'
$host: 'listener-eu.logz.io'
Datana\LogzIo\Handler\Processor\AddApplicationNameProcessor:
arguments:
- '%env(LOGZ_IO_APPLICATION_NAME)%'
tags: ['monolog.processor']
@@ -0,0 +1,9 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"LOGZ_IO_TOKEN": "",
"LOGZ_IO_APPLICATION_NAME": ""
}
}