Completed
Push — master ( 9fa2bd...1c21b1 )
by Ricardo Jesus Ruiz
02:07
created

ZendLogger::error()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
eloc 0
nc 1
nop 2
1
<?php
2
/**
3
 * Rioxygen
4
 * @copyright Copyright (c) 2018 Rioxygen. (http://www.Rioxygen.com/)
5
 * @license   Copyright
6
 */
7
namespace Rioxygen\Graylog\Logger;
8
9
use Psr\Log\LoggerInterface;
10
use Rioxygen\Graylog\LoggerAdapter;
11
use Zend\Log\Logger;
12
use Gelf\Logger as GelfLogger;
13
14
/**
15
 * 
16
 * @version 1.0
17
 */
18
class ZendLogger extends LoggerAdapter implements LoggerInterface
19
{
20
    public function __construct($options = array()) {
21
        parent::__construct($options);
22
    }
23
24
    protected function prepare() {
25
        ;
26
    }
27
    protected function validate() {
28
        ;
29
    }
30
    protected function process() {
31
        ;
32
    }
33
    protected function execute() {
34
        ;
35
    }
36
    public function emergency($message, array $context = array()){
37
        
38
    }
39
    public function alert($message, array $context = array())
40
    {
41
        
42
    }
43
    /**
44
     * Critical conditions.
45
     *
46
     * Example: Application component unavailable, unexpected exception.
47
     *
48
     * @param string $message
49
     * @param array  $context
50
     *
51
     * @return void
52
     */
53
    public function critical($message, array $context = array())
54
    {
55
        
56
    }
57
58
    /**
59
     * Runtime errors that do not require immediate action but should typically
60
     * be logged and monitored.
61
     *
62
     * @param string $message
63
     * @param array  $context
64
     *
65
     * @return void
66
     */
67
    public function error($message, array $context = array())
68
    {
69
        
70
    }
71
72
    /**
73
     * Exceptional occurrences that are not errors.
74
     *
75
     * Example: Use of deprecated APIs, poor use of an API, undesirable things
76
     * that are not necessarily wrong.
77
     *
78
     * @param string $message
79
     * @param array  $context
80
     *
81
     * @return void
82
     */
83
    public function warning($message, array $context = array()){
84
        
85
    }
86
87
    /**
88
     * Normal but significant events.
89
     *
90
     * @param string $message
91
     * @param array  $context
92
     *
93
     * @return void
94
     */
95
    public function notice($message, array $context = array())
96
    {
97
        
98
    }
99
100
    /**
101
     * Interesting events.
102
     *
103
     * Example: User logs in, SQL logs.
104
     *
105
     * @param string $message
106
     * @param array  $context
107
     *
108
     * @return void
109
     */
110
    public function info($message, array $context = array())
111
    {
112
        
113
    }
114
115
    /**
116
     * Detailed debug information.
117
     *
118
     * @param string $message
119
     * @param array  $context
120
     *
121
     * @return void
122
     */
123
    public function debug($message, array $context = array()){
124
        
125
    }
126
127
    /**
128
     * Logs with an arbitrary level.
129
     *
130
     * @param mixed  $level
131
     * @param string $message
132
     * @param array  $context
133
     *
134
     * @return void
135
     */
136
    public function log($level, $message, array $context = array()){
137
        
138
    }
139
            
140
}