当前位置:网站首页>jeecgboot输出日志,@Slf4j的使用方法
jeecgboot输出日志,@Slf4j的使用方法
2022-07-01 03:17:00 【三个人工作室】
直接上代码:
基本格式
@Slf4j
public class xxxxx {
log.info("xxxxxxxxxxxxxxxxxxx");
}
动态输出
@Slf4j
class LogTest {
@Test
void testLog() {
String testInfo = "Free flying flowers are like dreams";
log.info("The test info is :{}", testInfo);
}
}
效果:
springboot部署@Slf4j的方式及引用:
https://blog.csdn.net/cslucifer/article/details/80953400
边栏推荐
- Data exchange JSON
- ECMAScript 6.0
- 10、Scanner.next() 无法读取空格/indexOf -1
- go实现命令行的工具cli
- Stop saying that you can't solve the "cross domain" problem
- 完全背包问题
- The shell script uses two bars to receive external parameters
- Overview of EtherCAT principle
- [reading notes] copywriting realization -- four golden steps for writing effective copywriting
- 后台系统页面左边菜单按钮和右边内容的处理,后台系统页面出现双滚动
猜你喜欢

POI exports excel and displays hierarchically according to parent-child nodes

FCN full Convolution Network Understanding and Code Implementation (from pytorch Official Implementation)
![[小样本分割]论文解读Prior Guided Feature Enrichment Network for Few-Shot Segmentation](/img/b3/887d3fb64acbf3702814d32e2e6414.png)
[小样本分割]论文解读Prior Guided Feature Enrichment Network for Few-Shot Segmentation

Hello World generation

Feign远程调用和Getaway网关

5、【WebGIS实战】软件操作篇——服务发布及权限管理

MySQL knowledge points

Thread data sharing and security -threadlocal

E15 solution for cx5120 controlling Huichuan is620n servo error

Pyramid Scene Parsing Network【PSPNet】论文阅读
随机推荐
Introduction to ieda right click source file menu
ECMAScript 6.0
Let's just say I can use thousands of expression packs
衡量两个向量相似度的方法:余弦相似度、pytorch 求余弦相似度:torch.nn.CosineSimilarity(dim=1, eps=1e-08)
家居网购项目
Clion and C language
[us match preparation] complete introduction to word editing formula
About the application of MySQL
监听器 Listener
POI exports excel and displays hierarchically according to parent-child nodes
leetcode 1818 绝对值,排序,二分法,最大值
Golang multi graph generation gif
go实现命令行的工具cli
Elk elegant management server log
Ouc2021 autumn - Software Engineering - end of term (recall version)
Leetcode 1818 absolute value, sorting, dichotomy, maximum value
后台系统页面左边菜单按钮和右边内容的处理,后台系统页面出现双滚动
JUC学习
Learning notes for introduction to C language multithreaded programming
pytorch nn.AdaptiveAvgPool2d(1)