当前位置:网站首页>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
边栏推荐
- Take you through a circuit board, from design to production (dry goods)
- Force buckle - sum of two numbers
- 后台系统页面左边菜单按钮和右边内容的处理,后台系统页面出现双滚动
- multiple linear regression
- EtherCAT原理概述
- Introduction and installation of Solr
- 衡量两个向量相似度的方法:余弦相似度、pytorch 求余弦相似度:torch.nn.CosineSimilarity(dim=1, eps=1e-08)
- md5sum操作
- Leetcode 1482 guess, how about this question?
- Overview of EtherCAT principle
猜你喜欢

Ridge regression and lasso regression

用小程序的技术优势发展产业互联网

The best learning method in the world: Feynman learning method

Listener listener

服务器渲染技术jsp

Best used trust automation script (shell)

FCN全卷积网络理解及代码实现(来自pytorch官方实现)

pytorch nn. AdaptiveAvgPool2d(1)

The preorder traversal of leetcode 144 binary tree and the expansion of leetcode 114 binary tree into a linked list

A few lines of transaction codes cost me 160000 yuan
随机推荐
Basic concepts of database
数据库DDL(Data Definition Language,数据定义语言)知识点
Golang multi graph generation gif
Ouc2021 autumn - Software Engineering - end of term (recall version)
pytest-fixture
How to achieve 0 error (s) and 0 warning (s) in keil5
4、【WebGIS实战】软件操作篇——数据导入及处理
串口接收数据方案设计
Bilinear upsampling and f.upsample in pytorch_ bilinear
LeetCode 144二叉树的前序遍历、LeetCode 114二叉树展开为链表
Edge drawing: a combined real-time edge and segment detector
Test function in pychram
完全背包问题
E15 solution for cx5120 controlling Huichuan is620n servo error
手把手带你了解一块电路板,从设计到制作(干货)
文件上传下载
LeetCode 128最长连续序列(哈希set)
Leetcode:829. 连续整数求和
Cookie&Session
A few lines of transaction codes cost me 160000 yuan