slf4j与logback配置
创建时间:2023-02-07 10:46:31
栏目:java
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.36</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.11</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.2.11</version>
<type>pom</type>
</dependency>
slf4j版本对应关系参见 https://www.slf4j.org/codes.html