Пример #1
0
func TestMain(m *testing.M) {
	flag.Parse()
	logutil.InitLog("", true)
	os.Exit(m.Run())
}
Пример #2
0
// depends on initStorage()
func (this *runner) initGlobalLogger() error {
	logutil.InitLog(path.Join(this.workingDirPath, "earthquake.log"), logutil.Debug)
	return nil
}