This commit is contained in:
Sad Pencil 2019-02-23 07:01:42 +08:00
parent 607929c43f
commit 868822ea56

View file

@ -28,6 +28,7 @@ func InitOutputFile(outputFile string) {
fmt.Fprintln(os.Stderr, err) fmt.Fprintln(os.Stderr, err)
os.Exit(1) os.Exit(1)
} }
file.WriteString("Timing log initialized.\n")
} }
func Record(timingLog TimingLog) error { func Record(timingLog TimingLog) error {
b, err := json.Marshal(timingLog) b, err := json.Marshal(timingLog)