zen-studio/line-formatter

解决Hyperf框架Log类出现Over 9 levels deep, aborting normalization的问题

1.0.0 2022-07-11 02:12 UTC

This package is not auto-updated.

Last update: 2024-11-12 11:12:15 UTC


README

composer require zen-studio/line-formatter

#Config 默认最大深度调整为20层,可在config文件里自定义日志josn的最大深度

config/autoload/logger.php

'formatter' => [
            'constructor' => [
                'maxNormalizeDepth' => 20,
            ],
        ],