@@ -30,14 +30,14 @@ discard block |
||
30 | 30 | * @var array|string[] $levels Logging levels |
31 | 31 | */ |
32 | 32 | protected static $levels = [ |
33 | - self::DEBUG => 'DEBUG', |
|
34 | - self::INFO => 'INFO', |
|
35 | - self::NOTICE => 'NOTICE', |
|
36 | - self::WARNING => 'WARNING', |
|
37 | - self::ERROR => 'ERROR', |
|
38 | - self::CRITICAL => 'CRITICAL', |
|
39 | - self::ALERT => 'ALERT', |
|
40 | - self::EMERGENCY => 'EMERGENCY', |
|
33 | + self::DEBUG => 'DEBUG', |
|
34 | + self::INFO => 'INFO', |
|
35 | + self::NOTICE => 'NOTICE', |
|
36 | + self::WARNING => 'WARNING', |
|
37 | + self::ERROR => 'ERROR', |
|
38 | + self::CRITICAL => 'CRITICAL', |
|
39 | + self::ALERT => 'ALERT', |
|
40 | + self::EMERGENCY => 'EMERGENCY', |
|
41 | 41 | ]; |
42 | 42 | |
43 | 43 | /** |
@@ -79,10 +79,10 @@ discard block |
||
79 | 79 | * @param int|string $level Workflow level code |
80 | 80 | */ |
81 | 81 | public function __construct( |
82 | - PsrLoggerInterface $logger, |
|
83 | - FormatterInterface $formatter, |
|
84 | - \DateTimeZone $timezone, |
|
85 | - $level |
|
82 | + PsrLoggerInterface $logger, |
|
83 | + FormatterInterface $formatter, |
|
84 | + \DateTimeZone $timezone, |
|
85 | + $level |
|
86 | 86 | ) { |
87 | 87 | $this->logger = $logger; |
88 | 88 | $this->formatter = $formatter; |
@@ -99,9 +99,9 @@ discard block |
||
99 | 99 | if (PHP_VERSION_ID < 70100) { |
100 | 100 | $microtime = sprintf('%.6F', microtime(true)); |
101 | 101 | $time = \DateTime::createFromFormat( |
102 | - 'U.u', |
|
103 | - $microtime, |
|
104 | - $this->timezone |
|
102 | + 'U.u', |
|
103 | + $microtime, |
|
104 | + $this->timezone |
|
105 | 105 | ); |
106 | 106 | } |
107 | 107 | else { |
@@ -195,10 +195,10 @@ discard block |
||
195 | 195 | } |
196 | 196 | |
197 | 197 | $this->records[] = new Record( |
198 | - $this->getCurrentDateTime(), |
|
199 | - $message, |
|
200 | - $this->getLevelName($level), |
|
201 | - $context |
|
198 | + $this->getCurrentDateTime(), |
|
199 | + $message, |
|
200 | + $this->getLevelName($level), |
|
201 | + $context |
|
202 | 202 | ); |
203 | 203 | } |
204 | 204 |