日志框架设计之SpringBoot日志模块的设计

Spring Boot日志模块的设计

首先我们需要关注LoggingApplicationListener这个应用监听器,它的官方说明如下:

An ApplicationListener that configures the LoggingSystem. If the environment contains a logging.config property it will be used to bootstrap the logging system, otherwise a default configuration is used. Regardless, logging levels will be customized if the environment contains logging.level.* entries and logging groups can be defined with logging.group.

欢迎关注我的公众号:沉迷Spring
显示 Gitment 评论
0%