File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1743,7 +1743,11 @@ log
1743
1743
**type **: ``boolean|int `` **default **: ``false ``
1744
1744
1745
1745
Use the application logger instead of the PHP logger for logging PHP errors.
1746
- When an integer value is used it also sets the log level.
1746
+ When an integer value is used, it also sets the log level. Those integer
1747
+ values must be the same used in the `error_reporting PHP option `_.
1748
+
1749
+ .. versionadded :: 4.1
1750
+ The support for integers in the ``log `` option was introduced in Symfony 4.1.
1747
1751
1748
1752
throw
1749
1753
.....
@@ -2098,3 +2102,4 @@ Full Default Configuration
2098
2102
.. _`blue/green deployment` : http://martinfowler.com/bliki/BlueGreenDeployment.html
2099
2103
.. _`gulp-rev` : https://www.npmjs.com/package/gulp-rev
2100
2104
.. _`webpack-manifest-plugin` : https://www.npmjs.com/package/webpack-manifest-plugin
2105
+ .. _`error_reporting PHP option` : https://secure.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting
You can’t perform that action at this time.
0 commit comments