springBoot 日志中关于profiles设置的源码解读

在启动SpringBoot应用是看到到如下日志,于是出于好奇查看了下源代码:

首先,StartpInfoLogger类,采用jcl-over-slf4j【即Apache Common Log】中的Log接口打印日志

springBoot 日志中关于profiles设置的源码解读

二、SpringApplication类【org.springframework.boot.SpringApplication】

springBoot 日志中关于profiles设置的源码解读

springBoot 日志中关于profiles设置的源码解读

org.springframework.core.env.AbstractEnvironment

springBoot 日志中关于profiles设置的源码解读

springBoot 日志中关于profiles设置的源码解读

 

相关文章:

  • 2021-08-15
  • 2021-05-21
  • 2022-02-05
  • 2021-07-31
  • 2022-02-16
  • 2021-07-08
  • 2022-01-30
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-16
  • 2021-07-17
  • 2022-12-23
相关资源
相似解决方案