标签:todo ast end 使用步骤 span provided log lombok 简单
使用日志的最简单步骤:
1 <!-- TODO lombok的依赖范围为 provided,否则启动 tomcat7-maven-plugin 会报错--> 2 <dependency> 3 <groupId>org.projectlombok</groupId> 4 <artifactId>lombok</artifactId> 5 <version>${lombok.version}</version> 6 <scope>provided</scope> 7 </dependency> 8 9 <!-- 日志依赖 --> 10 <dependency> 11 <groupId>org.slf4j</groupId> 12 <artifactId>slf4j-api</artifactId> 13 <version>1.7.30</version> 14 </dependency> 15 <dependency> 16 <groupId>ch.qos.logback</groupId> 17 <artifactId>logback-classic</artifactId> 18 <version>1.2.3</version> 19 </dependency>
logback日志快速使用步骤参考:
https://wiki.base22.com/btg/how-to-setup-slf4j-and-logback-in-a-web-app-fast-35488048.html
标签:todo ast end 使用步骤 span provided log lombok 简单
原文地址:https://www.cnblogs.com/lpzh/p/14388567.html