Skip to content

Commit 53fccdc

Browse files
committed
docs: update sample config
1 parent 185e41b commit 53fccdc

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • user_guide_src/source/general/errors

user_guide_src/source/general/errors/013.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
class Logger extends BaseConfig
88
{
9-
// .. other properties
10-
11-
public $threshold = 5; // originally 4 but changed to 5 to log the warnings from the deprecations
9+
// ...
10+
// This must contain the log level (5 for LogLevel::WARNING) corresponding to $deprecationLogLevel.
11+
public $threshold = (ENVIRONMENT === 'production') ? 4 : 9;
12+
// ...
1213
}

0 commit comments

Comments
 (0)