Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4cd37a5

Browse files
Explained more in detail
1 parent 5ab3753 commit 4cd37a5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

reference/configuration/framework.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1743,7 +1743,11 @@ log
17431743
**type**: ``boolean|int`` **default**: ``false``
17441744

17451745
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.
17471751

17481752
throw
17491753
.....
@@ -2098,3 +2102,4 @@ Full Default Configuration
20982102
.. _`blue/green deployment`: http://martinfowler.com/bliki/BlueGreenDeployment.html
20992103
.. _`gulp-rev`: https://www.npmjs.com/package/gulp-rev
21002104
.. _`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

0 commit comments

Comments
 (0)