feat : oss callback

This commit is contained in:
2024-10-31 17:57:49 +08:00
parent 2d8f35ddf0
commit c4a59d68f8
12 changed files with 435 additions and 6 deletions

View File

@@ -83,6 +83,20 @@ class Log
$this->getLogger($name,$group)->error($msg,$content);
}
/**
* callback 请求日志
* @param $msg
* @param string $name
* @param string $group
* @return void
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
function callbackLog($msg, string $name = 'info', string $group = 'callback'): void
{
$this->getLogger($name,$group)->info($msg);
}
/**
* admin 请求日志
* @param $msg