Total Complexity | 4 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare( strict_types=1 ); |
||
11 | class SimpleLogger extends AbstractLogger implements IFlushingAwareLogger { |
||
12 | use LoggerTrait; |
||
13 | |||
14 | /** @var int */ |
||
15 | protected $minLevel; |
||
16 | |||
17 | /** |
||
18 | * @param string $minlevel |
||
19 | */ |
||
20 | public function __construct( $minlevel = LogLevel::INFO ) { |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @inheritDoc |
||
26 | * @suppress PhanUnusedPublicMethodParameter |
||
27 | */ |
||
28 | public function log( $level, $message, array $context = [] ) { |
||
31 | } |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @inheritDoc |
||
36 | */ |
||
37 | public function flush() : void { |
||
42 |