当前位置:网站首页>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
边栏推荐
- CX5120控制汇川IS620N伺服报错E15解决方案
- Force buckle - sum of two numbers
- The 'mental (tiring) process' of building kubernetes/kubesphere environment with kubekey
- [nine day training] content III of the problem solution of leetcode question brushing Report
- Introduction and installation of Solr
- Basic concept and classification of sorting
- Server rendering technology JSP
- Common interview questions for performance test
- Md5sum operation
- Stop saying that you can't solve the "cross domain" problem
猜你喜欢

Overview of EtherCAT principle

Edlines: a real time line segment detector with a false detection control

排序链表(归并排序)

C语言多线程编程入门学习笔记

pytorch训练深度学习网络设置cuda指定的GPU可见

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

A few lines of transaction codes cost me 160000 yuan

The value of the second servo encoder is linked to the NC virtual axis of Beifu PLC for display

How to verify whether the contents of two files are the same

用小程序的技术优势发展产业互联网
随机推荐
Ctfshow blasting WP
Let's just say I can use thousands of expression packs
pytorch nn. AdaptiveAvgPool2d(1)
Kmeans
Ultimate dolls 2.0 | encapsulation of cloud native delivery
multiple linear regression
Design of serial port receiving data scheme
数组的includes( )
ECMAScript 6.0
MySQL knowledge points
LeetCode 31下一个排列、LeetCode 64最小路径和、LeetCode 62不同路径、LeetCode 78子集、LeetCode 33搜索旋转排序数组(修改二分法)
Detailed explanation of ES6 deconstruction grammar
4、【WebGIS实战】软件操作篇——数据导入及处理
Test function in pychram
CX5120控制汇川IS620N伺服报错E15解决方案
Home online shopping project
md5sum操作
网页不能右键 F12 查看源代码解决方案
[daily training] 1175 Prime permutation
JS daily development tips (continuous update)