예제 #1
0
파일: test.go 프로젝트: Mparaiso/apipress
func (t TestLogger) LogF(level int, format string, arguments ...interface{}) {
	t.t.Logf("%d - "+format, append([]interface{}{logger.ToString(level)}, arguments...)...)
}
예제 #2
0
파일: test.go 프로젝트: Mparaiso/apipress
func (t TestLogger) Log(level int, arguments ...interface{}) {
	t.t.Log(append([]interface{}{logger.ToString(level)}, arguments...)...)
}