add zap logger

This commit is contained in:
zhiqiang feng
2020-12-28 15:58:00 +08:00
parent c06ec0a519
commit 0619229ec5
10 changed files with 82 additions and 49 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ Test load sqlite database and init table`,
}
func test() {
l.Info("Testing environment")
logger.Info("Testing environment")
_ = utils.OpenPort(device, baudrate, bytesize, stopbits)
err := utils.InitDb(dbFile, dbInit)