micro/util/log/log_test.go
yu d66803a136
fix bug https://github.com/micro/go-micro/issues/1883 (#1884)
* fix #1883

* fix #1883

Co-authored-by: 杨羽 <yangyu@doumi.com>
2020-07-29 12:45:25 +01:00

14 lines
144 B
Go

package log
import (
"testing"
)
func TestDebug(t *testing.T) {
SetLevel(LevelDebug)
Debug(123)
}
func TestMain(m *testing.M) {
m.Run()
}