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

@@ -99,4 +99,22 @@ return [
],
],
],
'callback' => [
'handler' => [
'class' => Monolog\Handler\RotatingFileHandler::class,
'constructor' => [
'filename' => BASE_PATH . '/runtime/logs/callback/hyperf.log',
'level' => Monolog\Logger::DEBUG,
],
],
'formatter' => [
'class' => Monolog\Formatter\LineFormatter::class,
'constructor' => [
'format' => null,
'dateFormat' => null,
'allowInlineLineBreaks' => true,
'ignoreEmptyContextAndExtra' => true,
],
],
],
];