admin
2021-02-06 6c09cbd70388ae53ec593de253f69cfa1a3eeda7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.ks.lucky;
 
import com.ks.lucky.util.LoggerUtil;
import org.junit.jupiter.api.Test;
 
public class LogTest {
 
    @Test
    public void logTest() {
        Long activityId = 1L;
        Long uid = 1L;
        try {
            int i = 1 / 0;
        } catch (Exception e) {
            LoggerUtil.activityLogger.error("预开奖异常:activityId-{}", activityId, e);
        }
    }
 
 
}