Blackhole::log()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 2
1
<?php
2
declare(strict_types = 1);
3
4
/**
5
 * Micro
6
 *
7
 * @author    Raffael Sahli <[email protected]>
8
 * @copyright Copyright (c) 2017 gyselroth GmbH (https://gyselroth.com)
9
 * @license   MIT https://opensource.org/licenses/MIT
10
 */
11
12
namespace Micro\Log\Adapter;
13
14
class Blackhole extends AbstractAdapter
15
{
16
    /**
17
     * Log
18
     *
19
     * @param   string $level
20
     * @param   string $message
21
     * @return  bool
22
     */
23
    public function log(string $level, string $message): bool
24
    {
25
        return true;
26
    }
27
}
28