riku
2019-09-15 4d44ed185203088052b10a8d1e3526fcbbc88331
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")
    }
}