Total Complexity | 3 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 5 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class Cli extends Processor |
||
20 | { |
||
21 | protected string $format = '> [timestamp][levelname] - message'; |
||
22 | |||
23 | /** @var resource */ |
||
24 | private $handle; |
||
25 | |||
26 | public function __construct(array $settings) |
||
27 | 1 | { |
|
28 | parent::__construct($settings); |
||
29 | 1 | $this->handle = \defined('STDERR') ? STDERR : \fopen('php://stderr', 'w'); |
|
30 | 1 | } |
|
31 | 1 | ||
32 | protected function process(array $message): void |
||
35 | 1 | } |
|
36 | } |
||
37 |