8000 Merge branch '5.4' into 6.2 · symfony/symfony-docs@d6bba50 · GitHub
[go: up one dir, main page]

Skip to content

Commit d6bba50

Browse files
committed
Merge branch '5.4' into 6.2
* 5.4: fix syntax
2 parents 3cb4e55 + e24bcae commit d6bba50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

logging/handlers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ To use it, declare it as a service:
7373
7474
// optionally, configure the handler using the constructor arguments (shown values are default)
7575
$container->register(ElasticsearchLogstashHandler::class)
76-
->setArguments(
76+
->setArguments([
7777
'$endpoint' => "http://127.0.0.1:9200",
7878
'$index' => "monolog",
7979
'$client' => null,
8080
'$level' => Logger::DEBUG,
8181
'$bubble' => true,
8282
'$elasticsearchVersion' => '1.0.0',
83-
)
83+
])
8484
;
8585
8686
Then reference it in the Monolog configuration:

0 commit comments

Comments
 (0)
0