Nil   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A write() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of the Apix Project.
5
 *
6
 * (c) Franck Cassedanne <franck at ouarz.net>
7
 *
8
 * @license http://opensource.org/licenses/BSD-3-Clause  New BSD License
9
 */
10
11
namespace Apix\Log\Logger;
12
13
use Apix\Log\LogEntry;
14
15
/**
16
 * Nil (Null) log wrapper.
17
 *
18
 * @author             Franck Cassedanne <franck at ouarz.net>
19
 * @codeCoverageIgnore
20
 */
21
class Nil extends AbstractLogger implements LoggerInterface
22
{
23
24
    /**
25
     * {@inheritDoc}
26
     */
27
    public function write(LogEntry $log)
28
    {
29
        return false;
30
    }
31
32
}
33