@@ -14,11 +14,6 @@ trait LoggerTrait
14
14
{
15
15
/**
16
16
* System is unusable.
17
- *
18
- * @param string|\Stringable $message
19
- * @param array $context
20
- *
21
- * @return void
22
17
*/
23
18
public function emergency (string |\Stringable $ message , array $ context = []): void
24
19
{
@@ -30,11 +25,6 @@ public function emergency(string|\Stringable $message, array $context = []): voi
30
25
*
31
26
* Example: Entire website down, database unavailable, etc. This should
32
27
* trigger the SMS alerts and wake you up.
33
- *
34
- * @param string|\Stringable $message
35
- * @param array $context
36
- *
37
- * @return void
38
28
*/
39
29
public function alert (string |\Stringable $ message , array $ context = []): void
40
30
{
@@ -45,11 +35,6 @@ public function alert(string|\Stringable $message, array $context = []): void
45
35
* Critical conditions.
46
36
*
47
37
* Example: Application component unavailable, unexpected exception.
48
- *
49
- * @param string|\Stringable $message
50
- * @param array $context
51
- *
52
- * @return void
53
38
*/
54
39
public function critical (string |\Stringable $ message , array $ context = []): void
55
40
{
@@ -59,11 +44,6 @@ public function critical(string|\Stringable $message, array $context = []): void
59
44
/**
60
45
* Runtime errors that do not require immediate action but should typically
61
46
* be logged and monitored.
62
- *
63
- * @param string|\Stringable $message
64
- * @param array $context
65
- *
66
- * @return void
67
47
*/
68
48
public function error (string |\Stringable $ message , array $ context = []): void
69
49
{
@@ -75,11 +55,6 @@ public function error(string|\Stringable $message, array $context = []): void
75
55
*
76
56
* Example: Use of deprecated APIs, poor use of an API, undesirable things
77
57
* that are not necessarily wrong.
78
- *
79
- * @param string|\Stringable $message
80
- * @param array $context
81
- *
82
- * @return void
83
58
*/
84
59
public function warning (string |\Stringable $ message , array $ context = []): void
85
60
{
@@ -88,11 +63,6 @@ public function warning(string|\Stringable $message, array $context = []): void
88
63
89
64
/**
90
65
* Normal but significant events.
91
- *
92
- * @param string|\Stringable $message
93
- * @param array $context
94
- *
95
- * @return void
96
66
*/
97
67
public function notice (string |\Stringable $ message , array $ context = []): void
98
68
{
@@ -103,11 +73,6 @@ public function notice(string|\Stringable $message, array $context = []): void
103
73
* Interesting events.
104
74
*
105
75
* Example: User logs in, SQL logs.
106
- *
107
- * @param string|\Stringable $message
108
- * @param array $context
109
- *
110
- * @return void
111
76
*/
112
77
public function info (string |\Stringable $ message , array $ context = []): void
113
78
{
@@ -116,11 +81,6 @@ public function info(string|\Stringable $message, array $context = []): void
116
81
117
82
/**
118
83
* Detailed debug information.
119
- *
120
- * @param string|\Stringable $message
121
- * @param array $context
122
- *
123
- * @return void
124
84
*/
125
85
public function debug (string |\Stringable $ message , array $ context = []): void
126
86
{
@@ -130,11 +90,7 @@ public function debug(string|\Stringable $message, array $context = []): void
130
90
/**
131
91
* Logs with an arbitrary level.
132
92
*
133
- * @param mixed $level
134
- * @param string|\Stringable $message
135
- * @param array $context
136
- *
137
- * @return void
93
+ * @param mixed $level
138
94
*
139
95
* @throws \Psr\Log\InvalidArgumentException
140
96
*/
0 commit comments