| Total Complexity | 8 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 27.27% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | abstract class LogOutputAbstract implements LogOutputInterface{ |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var \chillerlan\Logger\LogOptions |
||
| 24 | */ |
||
| 25 | protected $options; |
||
| 26 | |||
| 27 | 1 | public function __construct(LogOptions $options = null){ |
|
| 29 | 1 | } |
|
| 30 | |||
| 31 | public function __destruct(){ |
||
| 32 | $this->close(); |
||
| 33 | } |
||
| 34 | |||
| 35 | public function close():LogOutputInterface{ |
||
| 37 | } |
||
| 38 | |||
| 39 | abstract protected function __log(string $level, string $message, array $context = null); |
||
| 40 | |||
| 41 | public function log(string $level, string $message, array $context = null){ // @todo: loglevel bitmask |
||
| 48 |