-
-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
$app->config([ StdoutLoggerInterface::class => [ 'log_level' => [ LogLevel::ALERT ] ] ]);
这种写法无法自定义log_level。
当然,
$app->getContainer()->get(ConfigInterface::class)->set(StdoutLoggerInterface::class, [ 'log_level' => [ LogLevel::ALERT ] ]); 这种写法是可以的。
个人建议 https://github.com/hyperf/nano/blob/master/src/App.php#L318 将array_merge_recursive 改为 array_merge
congpeijun
Metadata
Metadata
Assignees
Labels
No labels