Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/Logging/Behavioral/Loggable.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* @see https://kariricode.org/
*/
interface Loggable extends LoggerInterface
interface Loggable
{
/**
* Logs with an arbitrary level.
Expand All @@ -29,9 +29,8 @@ interface Loggable extends LoggerInterface
* @param string|\Stringable $message the log message
* @param array $context additional context for the log message
*
* @throws \Psr\Log\InvalidArgumentException
*/
public function log($level, string|\Stringable $message, array $context = []): void;
public function log(LogLevel $level, string|\Stringable $message, array $context = []): void;

/**
* Logs a debug message.
Expand Down
Loading