当前位置:网站首页>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
边栏推荐
- 10、Scanner. Next() cannot read spaces /indexof -1
- 线程数据共享和安全 -ThreadLocal
- [小样本分割]论文解读Prior Guided Feature Enrichment Network for Few-Shot Segmentation
- Addition without addition, subtraction, multiplication and division
- Research on target recognition and tracking based on 3D laser point cloud
- Detailed explanation of ES6 deconstruction grammar
- Nacos
- FCN全卷积网络理解及代码实现(来自pytorch官方实现)
- pytorch nn.AdaptiveAvgPool2d(1)
- Server rendering technology JSP
猜你喜欢

Gorilla/mux framework (RK boot): RPC error code design

报错:Plug-ins declaring extensions or extension points must set the singleton directive to true

复习专栏之---消息队列

使用selenium自动化测试工具爬取高考相关院校专业招生分数线及排名情况

二叉树神级遍历:Morris遍历

Leetcode 31 next spread, leetcode 64 minimum path sum, leetcode 62 different paths, leetcode 78 subset, leetcode 33 search rotation sort array (modify dichotomy)

岭回归和lasso回归

Filter

过滤器 Filter

The difference between MFC for static libraries and MFC for shared libraries
随机推荐
Test function in pychram
10、Scanner. Next() cannot read spaces /indexof -1
Addition without addition, subtraction, multiplication and division
快速筛选打卡时间日期等数据:EXCEL筛选查找某一时间点是否在某一时间段内
不用加减乘除实现加法
Basic concept and classification of sorting
pytorch nn. AdaptiveAvgPool2d(1)
还在浪费脑细胞自学吗,这份面试笔记绝对是C站天花板
How to use hybrid format to output ISO files? isohybrid:command not found
Gorilla/mux framework (RK boot): RPC error code design
报错:Plug-ins declaring extensions or extension points must set the singleton directive to true
谷粒学院微信扫码登录过程记录以及bug解决
[小样本分割]论文解读Prior Guided Feature Enrichment Network for Few-Shot Segmentation
终极套娃 2.0 | 云原生交付的封装
打包iso文件的话,怎样使用hybrid格式输出?isohybrid:command not found
How to display scrollbars on the right side of the background system and how to solve the problem of double scrollbars
【伸手党福利】开发人员重装系统顺序
torch.histc
BluePrism注册下载并安装-RPA第一章
The shell script uses two bars to receive external parameters