| Total Complexity | 3 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class DatabaseLog extends LogOutputAbstract{ |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var \chillerlan\Database\Connection |
||
| 22 | */ |
||
| 23 | protected $db; |
||
| 24 | |||
| 25 | /** @noinspection PhpMissingParentConstructorInspection */ |
||
| 26 | /** |
||
| 27 | * DatabaseLog constructor. |
||
| 28 | * |
||
| 29 | * @param \chillerlan\Logger\LogOptions $options |
||
| 30 | * @param \chillerlan\Database\Connection $db |
||
| 31 | */ |
||
| 32 | public function __construct(LogOptions $options, Connection $db){ |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @inheritdoc |
||
| 41 | */ |
||
| 42 | protected function __log(string $level, string $message, array $context = []){ |
||
| 54 | ; |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @inheritdoc |
||
| 59 | */ |
||
| 60 | public function close():LogOutputInterface{ |
||
| 67 |