2.0.3 (2022-09-12)

- Update composer packages
- Added WoodpeckerCI tests
- Updated links in composer package
- Stricter typing
This commit is contained in:
idanoo 2022-09-12 19:50:02 +12:00
parent f9a22e7b8a
commit 05cae402b5
Signed by: idanoo
GPG key ID: 387387CDBC02F132
21 changed files with 215 additions and 524 deletions

View file

@ -14,7 +14,7 @@ class Log extends \Psr\Log\AbstractLogger
{
public $logLevel;
public function __construct($logLevel = "warning")
public function __construct($logLevel = 'warning')
{
$this->logLevel = strtolower($logLevel);
}
@ -30,14 +30,14 @@ class Log extends \Psr\Log\AbstractLogger
public function log($level, $message, array $context = [])
{
$logLevels = [
"emergency",
"alert",
"critical",
"error",
"warning",
"notice",
"info",
"debug",
'emergency',
'alert',
'critical',
'error',
'warning',
'notice',
'info',
'debug',
];
/**