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

Skip to content

Commit d2b3d14

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: fix syntax
2 parents 6c58564 + d6bba50 commit d2b3d14

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