Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| Logger | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| log | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
| 1 | <?php |
| 2 | |
| 3 | #declare(strict_types=1); |
| 4 | |
| 5 | /** |
| 6 | * MYCUSTOMNAMESPACE |
| 7 | * Copyright © MYCUSTOMNAMESPACE |
| 8 | */ |
| 9 | |
| 10 | namespace MYCUSTOMNAMESPACE; |
| 11 | |
| 12 | use CNIC\HEXONET\Response as R; |
| 13 | |
| 14 | /** |
| 15 | * MYCUSTOMNAMESPACE Logger |
| 16 | * |
| 17 | * @package MYCUSTOMNAMESPACE |
| 18 | */ |
| 19 | |
| 20 | class Logger implements \CNIC\LoggerInterface |
| 21 | { |
| 22 | /** |
| 23 | * output/log given data |
| 24 | */ |
| 25 | public function log(string $post, R $r, string $error = null): void |
| 26 | { |
| 27 | // apply your custom logging / output here |
| 28 | } |
| 29 | } |