示例#1
0
func (testLogger) detach() {
	logger.Flush()
	logger.Reset()
}
示例#2
0
func testlog(t *testing.T) testLogger {
	logger.Reset()
	l := testLogger{t}
	logger.AddLogSystem(l)
	return l
}