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
|
@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.1.2]
|
||||
|
||||
This update introduces some additional features & bug fixes
|
||||
|
||||
### Fixed
|
||||
- Set default log level to 'info' in Utilities. instead of using `null` due to deprecation error
|
||||
|
||||
|
||||
## [1.1.1] - 2024-10-13
|
||||
|
||||
Update build system
|
||||
|
|
|
@ -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
Reference in a new issue