mirror of
https://github.com/idanoo/php-resque
synced 2025-07-04 23:22:19 +00:00
2.0.2 (2022-02-15)
- Replace strftime with strtotime for PHP8.1 support - Added processing class into proc line for easier debugging
This commit is contained in:
parent
3d869bf653
commit
ac044747aa
5 changed files with 15 additions and 9 deletions
|
@ -47,7 +47,7 @@ class Log extends \Psr\Log\AbstractLogger
|
|||
if (array_search($level, $logLevels) <= array_search($this->logLevel, $logLevels)) {
|
||||
fwrite(
|
||||
STDOUT,
|
||||
'[' . $level . '][' . strftime('%Y-%m-%d %T') . '] ' .
|
||||
'[' . $level . '][' . date('Y-m-d H:i:s') . '] ' .
|
||||
$this->interpolate($message, $context) . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue