feat : Decorator Container

This commit is contained in:
2025-09-06 23:08:10 +08:00
parent 5e8cc5c61e
commit cc048c5600
13 changed files with 394 additions and 13 deletions

View File

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