Set default log level to 'info' in Utilities. instead of using null
due to deprecation error
This commit is contained in:
parent
cf4041f47b
commit
e5ce8cdc01
2 changed files with 9 additions and 1 deletions
|
@ -84,7 +84,7 @@
|
|||
{
|
||||
$args = Parse::getArguments();
|
||||
|
||||
switch(strtolower(($args['log'] ?? $args['log-level'] ?? (getenv('LOG_LEVEL') ?: null) ?? null)))
|
||||
switch(strtolower(($args['log'] ?? $args['log-level'] ?? (getenv('LOG_LEVEL') ?: 'info') ?? 'info')))
|
||||
{
|
||||
case LevelType::DEBUG:
|
||||
case 'debug':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue