Completed
Pull Request — master (#2)
by Tomáš
09:22
created

NullLogger   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A error() 0 3 1
A notice() 0 3 1
A info() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SixtyEightPublishers\User\Common\Logger;
6
7
use Nette;
8
9
final class NullLogger implements ILogger
10
{
11
	use Nette\SmartObject;
12
13
	/*************** interface \SixtyEightPublishers\User\Common\Logger\ILogger ***************/
14
15
	/**
16
	 * {@inheritdoc}
17
	 */
18
	public function error(string $message): void
19
	{
20
	}
21
22
	/**
23
	 * {@inheritdoc}
24
	 */
25
	public function notice(string $message): void
26
	{
27
	}
28
29
	/**
30
	 * {@inheritdoc}
31
	 */
32
	public function info(string $message): void
33
	{
34
	}
35
}
36