We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 185e41b commit 53fccdcCopy full SHA for 53fccdc
1 file changed
user_guide_src/source/general/errors/013.php
@@ -6,7 +6,8 @@
6
7
class Logger extends BaseConfig
8
{
9
- // .. other properties
10
-
11
- public $threshold = 5; // originally 4 but changed to 5 to log the warnings from the deprecations
+ // ...
+ // This must contain the log level (5 for LogLevel::WARNING) corresponding to $deprecationLogLevel.
+ public $threshold = (ENVIRONMENT === 'production') ? 4 : 9;
12
13
}
0 commit comments