func logInfo(header string) {
	fmt.Println(header + getLogInfo())
}
Output the log statement
package main
import (
	"fmt"
	"math/rand"
	"os"
	"strconv"
	"time"
)
var logStatements = [4]string{
	"error happened with social security number 111-22-3333",
	"Something happened..with social 222334444",
	"Processing credit card 1234 5678 9012 3456",
	"Users email is john.doe@example.com"}
func convertToInt(s string, def int) int {
	var result, err = strconv.Atoi(s)
	fmt.Println(result)
	if err != nil {
		fmt.Println(err)
		result = def
	}
	return result
}
func getLogInfo() string {
	return logStatements[rand.Intn(4)]
}