File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ To use it, declare it as a service:
3434 $client : null
3535 $level : !php/const Monolog\Logger::DEBUG
3636 $bubble : true
37+ $elasticsearchVersion : ' 1.0.0'
3738
3839 .. code-block :: xml
3940
@@ -57,6 +58,7 @@ To use it, declare it as a service:
5758 <argument key =" client" />
5859 <argument key =" level" type =" constant" >Monolog\Logger::DEBUG</argument >
5960 <argument key =" bubble" >true</argument >
61+ <argument key =" elasticsearchVersion" >1.0.0</argument >
6062 </service >
6163 </services >
6264 </container >
@@ -77,9 +79,14 @@ To use it, declare it as a service:
7779 '$client' => null,
7880 '$level' => Logger::DEBUG,
7981 '$bubble' => true,
82+ '$elasticsearchVersion' => '1.0.0',
8083 )
8184 ;
8285
86+ .. versionadded :: 5.4
87+
88+ The ``$elasticsearchVersion `` argument was introduced in Symfony 5.4.
89+
8390Then reference it in the Monolog configuration:
8491
8592.. configuration-block ::
You can’t perform that action at this time.
0 commit comments