StdOutLogger   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A log() 0 6 1
1
<?php declare(strict_types=1);
2
/**
3
  * @package Terah\FluentPdoModel
4
 *
5
 * Licensed under The MIT License
6
 * For full copyright and license information, please see the LICENSE.txt
7
 * Redistributions of files must retain the above copyright notice.
8
 *
9
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
10
 * @author        Terry Cullen - [email protected]
11
 */
12
13
namespace Terah\FluentPdoModel;
14
15
use Psr\Log\AbstractLogger;
16
17
class StdOutLogger extends AbstractLogger
18
{
19
    /**
20
     * @param mixed  $level
21
     * @param string $message
22
     * @param array  $context
23
     * @return null
24
     */
25
    public function log($level, $message, array $context=[])
26
    {
27
        echo "[{$level}] - {$message}" . PHP_EOL;
28
29
        return null;
30
    }
31
}
32