github.com/avicd/go-utilx@v0.1.0/logx/console_test.go (about) 1 package logx 2 3 import "testing" 4 5 func TestConsoleAppender_Write(t *testing.T) { 6 //ap := &ConsoleAppender{} 7 //for i := 1; i < int(OFF); i++ { 8 // ap.Write(Level(i), "This is a test") 9 //} 10 }