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