Skip to content

Commit 3593541

Browse files
authored
chore(logging): update composer dependencies and adjust loggable behavior (#41)
1 parent a9245e2 commit 3593541

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Logging/Behavioral/Loggable.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
* @see https://kariricode.org/
2222
*/
23-
interface Loggable extends LoggerInterface
23+
interface Loggable
2424
{
2525
/**
2626
* Logs with an arbitrary level.
@@ -29,9 +29,8 @@ interface Loggable extends LoggerInterface
2929
* @param string|\Stringable $message the log message
3030
* @param array $context additional context for the log message
3131
*
32-
* @throws \Psr\Log\InvalidArgumentException
3332
*/
34-
public function log($level, string|\Stringable $message, array $context = []): void;
33+
public function log(LogLevel $level, string|\Stringable $message, array $context = []): void;
3534

3635
/**
3736
* Logs a debug message.

0 commit comments

Comments
 (0)