Skip to content

Commit

Permalink
Update recipe for datana-gmbh/logz-io-handler (#1574)
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark authored Dec 11, 2023
1 parent 13942d1 commit 378ce1d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
services:
_defaults:
autowire: true

Inpsyde\LogzIoMonolog\Handler\LogzIoHandler:
arguments:
$token: '%env(LOGZ_IO_TOKEN)%'
$host: !php/enum Inpsyde\LogzIoMonolog\Enum\Host::EuCentral1

Datana\LogzIo\Handler\Logger\Processor\AddApplicationNameProcessor:
arguments:
- '%env(LOGZ_IO_APPLICATION_NAME)%'
tags: ['monolog.processor']
9 changes: 9 additions & 0 deletions datana-gmbh/logz-io-handler/1.7/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"LOGZ_IO_TOKEN": "",
"LOGZ_IO_APPLICATION_NAME": ""
}
}

0 comments on commit 378ce1d

Please sign in to comment.