VoidLogger   A
last analyzed

Complexity

Total Complexity 9

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 9
lcom 0
cbo 0
dl 0
loc 20
rs 10
c 0
b 0
f 0

9 Methods

Rating   Name   Duplication   Size   Complexity  
A emergency() 0 1 1
A alert() 0 1 1
A critical() 0 1 1
A error() 0 1 1
A warning() 0 1 1
A notice() 0 1 1
A info() 0 1 1
A debug() 0 1 1
A log() 0 1 1
1
<?php
2
3
namespace CrazyGoat\Octophpus;
4
5
use Psr\Log\LoggerInterface;
6
7
class VoidLogger implements LoggerInterface
8
{
9
    public function emergency($message, array $context = array()) {}
10
11
    public function alert($message, array $context = array()) {}
12
13
    public function critical($message, array $context = array()) {}
14
15
    public function error($message, array $context = array()) {}
16
17
    public function warning($message, array $context = array()) {}
18
19
    public function notice($message, array $context = array()) {}
20
21
    public function info($message, array $context = array()) {}
22
23
    public function debug($message, array $context = array()) {}
24
25
    public function log($level, $message, array $context = array()) {}
26
}