| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class DatabaseLog extends LogOutputAbstract{ |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var \chillerlan\Database\Connection |
||
| 24 | */ |
||
| 25 | protected $db; |
||
| 26 | |||
| 27 | /** @noinspection PhpMissingParentConstructorInspection */ |
||
| 28 | /** |
||
| 29 | * DatabaseLog constructor. |
||
| 30 | * |
||
| 31 | * @param \chillerlan\Logger\LogOptions $options |
||
| 32 | * @param \chillerlan\Database\Connection $db |
||
| 33 | */ |
||
| 34 | public function __construct(LogOptions $options, Connection $db){ |
||
| 39 | } |
||
| 40 | |||
| 41 | protected function __log(string $level, string $message, array $context = null){ |
||
| 45 |