func calcF1() { x := 1 y := 2 console.Print("Calculating F") result := library.CalculateF(x, y) console.Print(fmt.Sprintf("Got F = %d", result)) }
func calcF2() { x := 1 y := 2 log.Debug("Calculating F") result := library.CalculateF(x, y) log.Debugf("Got F = %d", result) }