更新时间:2023-11-19 22:34:40
有一个记录器叫做 rotating_file
.
这是一个示例配置:
There is a logger called rotating_file
.
Here is a sample configuration:
monolog:
handlers:
main:
type: rotating_file
path: %kernel.logs_dir%/%kernel.environment%.log
level: debug