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 e006aad commit cfeb05fCopy full SHA for cfeb05f
src/Log/Logger/DefaultLogger.php
@@ -51,7 +51,7 @@ public function __construct()
51
$this->path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'casbin.log';
52
}
53
54
- public function log($level, $message, array $context = []): void
+ public function log($level, string|\Stringable $message, array $context = []): void
55
{
56
$timestamp = date('Y-m-d H:i:s');
57
$message = (string) $message;
0 commit comments