8000 Merge branch '6.3' into 6.4 · symfony/symfony-docs@a80a846 · GitHub
[go: up one dir, main page]

Skip to content

Commit a80a846

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: fix syntax
2 parents bb41294 + d2b3d14 commit a80a846

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