From 1074bb5c8473dcb99d6edea5fa67ae7aa78af248 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 17 九月 2019 15:54:59 +0800 Subject: [PATCH] 1. 按照数据分类添加新的数据库表格 2. 完成数据分表存储逻辑并debug完成 --- src/test/kotlin/com/flightfeather/obd/ObdApplicationTests.kt | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/test/kotlin/com/flightfeather/obd/ObdApplicationTests.kt b/src/test/kotlin/com/flightfeather/obd/ObdApplicationTests.kt index 93dea64..db1a9dc 100644 --- a/src/test/kotlin/com/flightfeather/obd/ObdApplicationTests.kt +++ b/src/test/kotlin/com/flightfeather/obd/ObdApplicationTests.kt @@ -6,6 +6,7 @@ import com.google.gson.Gson import org.junit.Test import org.junit.runner.RunWith +import org.slf4j.LoggerFactory import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.context.SpringBootTest import org.springframework.test.context.junit4.SpringRunner @@ -35,4 +36,14 @@ println(map.cmdCode) } + @Test + fun logTest() { + val log = LoggerFactory.getLogger(javaClass) + log.trace("trace") + log.debug("debug") + log.warn("warn") + log.info("info") + log.error("error") + } + } -- Gitblit v1.9.3