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