Skip to content

Commit

Permalink
docs: update sample config
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed May 8, 2024
1 parent 185e41b commit 53fccdc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions user_guide_src/source/general/errors/013.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

class Logger extends BaseConfig
{
// .. other properties

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;
// ...
}

0 comments on commit 53fccdc

Please sign in to comment.