当前位置:网站首页>Jeecgboot output log, how to use @slf4j
Jeecgboot output log, how to use @slf4j
2022-07-01 03:39:00 【Three person studio】
Go straight to the code :
The basic format
@Slf4j
public class xxxxx {
log.info("xxxxxxxxxxxxxxxxxxx");
}
Dynamic output
@Slf4j
class LogTest {
@Test
void testLog() {
String testInfo = "Free flying flowers are like dreams";
log.info("The test info is :{}", testInfo);
}
}
effect :
springboot Deploy @Slf4j Method and quotation of :
https://blog.csdn.net/cslucifer/article/details/80953400
边栏推荐
猜你喜欢

小程序容器技术与物联网IoT的结合点

Random seed torch in deep learning manual_ seed(number)、torch. cuda. manual_ seed(number)

完全背包问题

Take you through a circuit board, from design to production (dry goods)

过滤器 Filter

Listener listener

How to display scrollbars on the right side of the background system and how to solve the problem of double scrollbars

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

Ctfshow blasting WP

监听器 Listener
随机推荐
Processing of menu buttons on the left and contents on the right of the background system page, and double scrolling appears on the background system page
Edge drawing: a combined real-time edge and segment detector
Learning notes for introduction to C language multithreaded programming
Appium自动化测试基础 — APPium基本原理
How to achieve 0 error (s) and 0 warning (s) in keil5
How to use hybrid format to output ISO files? isohybrid:command not found
RSN:Learning to Exploit Long-term Relational Dependencies in Knowledge Graphs
LeetCode 144二叉树的前序遍历、LeetCode 114二叉树展开为链表
快速筛选打卡时间日期等数据:EXCEL筛选查找某一时间点是否在某一时间段内
Binary tree god level traversal: Morris traversal
pytorch中的双线性插值上采样(Bilinear Upsampling)、F.upsample_bilinear
Kmeans
Nacos
小程序容器技术与物联网IoT的结合点
Cygwin的下载和安装配置
Avalanche problem and the use of sentinel
过滤器 Filter
深度学习中的随机种子torch.manual_seed(number)、torch.cuda.manual_seed(number)
torch. histc
split(),splice(),slice()傻傻分不清楚?