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:
34
34
$client : null
35
35
$level : !php/const Monolog\Logger::DEBUG
36
36
$bubble : true
37
+ $elasticsearchVersion : ' 1.0.0'
37
38
38
39
.. code-block :: xml
39
40
@@ -57,6 +58,7 @@ To use it, declare it as a service:
57
58
<argument key =" client" />
58
59
<argument key =" level" type =" constant" >Monolog\Logger::DEBUG</argument >
59
60
<argument key =" bubble" >true</argument >
61
+ <argument key =" elasticsearchVersion" >1.0.0</argument >
60
62
</service >
61
63
</services >
62
64
</container >
@@ -77,9 +79,14 @@ To use it, declare it as a service:
77
79
'$client' => null,
78
80
'$level' => Logger::DEBUG,
79
81
'$bubble' => true,
82
+ '$elasticsearchVersion' => '1.0.0',
80
83
)
81
84
;
82
85
86
+ .. versionadded :: 5.4
87
+
88
+ The ``$elasticsearchVersion `` argument was introduced in Symfony 5.4.
89
+
83
90
Then reference it in the Monolog configuration:
84
91
85
92
.. configuration-block ::
You can’t perform that action at this time.
0 commit comments