Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
33.33% |
3 / 9 |
CRAP | |
33.33% |
3 / 9 |
NullLogger | |
0.00% |
0 / 1 |
|
33.33% |
3 / 9 |
33.00 | |
33.33% |
3 / 9 |
emergency | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
alert | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
critical | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
error | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
warning | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
notice | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
info | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
debug | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
log | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
<?php | |
declare(strict_types = 1); | |
namespace Siesta\Logger; | |
use Psr\Log\LoggerInterface; | |
/** | |
* @author Gregor Müller | |
*/ | |
class NullLogger implements LoggerInterface | |
{ | |
public function emergency($message, array $context = array()) | |
{ | |
} | |
public function alert($message, array $context = array()) | |
{ | |
} | |
public function critical($message, array $context = array()) | |
{ | |
} | |
public function error($message, array $context = array()) | |
{ | |
} | |
public function warning($message, array $context = array()) | |
{ | |
} | |
public function notice($message, array $context = array()) | |
{ | |
} | |
public function info($message, array $context = array()) | |
{ | |
} | |
public function debug($message, array $context = array()) | |
{ | |
} | |
public function log($level, $message, array $context = array()) | |
{ | |
} | |
} |