This commit is contained in:
toom1996
2025-07-30 11:52:33 +08:00
parent 1b36a808a8
commit 6f56e18661
7 changed files with 95 additions and 212 deletions

View File

@ -44,4 +44,21 @@ return [
],
],
],
'command-baidu-record' => [
'handler' => [
'class' => Monolog\Handler\RotatingFileHandler::class,
'constructor' => [
'filename' => BASE_PATH . '/runtime/logs/hyperf.log',
'level' => Monolog\Level::Debug,
],
],
'formatter' => [
'class' => Monolog\Formatter\LineFormatter::class,
'constructor' => [
'format' => null,
'dateFormat' => 'Y-m-d H:i:s',
'allowInlineLineBreaks' => true,
],
],
],
];