Changing the logPretty function to use log.Printf instead of fmt.Printf