We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9245e2 commit 3593541Copy full SHA for 3593541
src/Logging/Behavioral/Loggable.php
@@ -20,7 +20,7 @@
20
*
21
* @see https://kariricode.org/
22
*/
23
-interface Loggable extends LoggerInterface
+interface Loggable
24
{
25
/**
26
* Logs with an arbitrary level.
@@ -29,9 +29,8 @@ interface Loggable extends LoggerInterface
29
* @param string|\Stringable $message the log message
30
* @param array $context additional context for the log message
31
32
- * @throws \Psr\Log\InvalidArgumentException
33
34
- public function log($level, string|\Stringable $message, array $context = []): void;
+ public function log(LogLevel $level, string|\Stringable $message, array $context = []): void;
35
36
37
* Logs a debug message.
0 commit comments