package main import ( "fmt" "log" "os" ) const ( // sep holds white space used as log type separator. sep = " " ) var ( // logInfo is used to log stable runtime information. logInfo = log.New(os.Stdout, fmt.Sprintf("%s%s", "info", sep), 0) // logErr is used to log errors. logErr = log.New(os.Stdout, fmt.Sprintf("%s%s", "error", sep), 0) )