Skip to content

Instantly share code, notes, and snippets.

@vadzappa
Created April 9, 2020 09:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vadzappa/2c64d39f97479940899e14c6cf9b5661 to your computer and use it in GitHub Desktop.
Save vadzappa/2c64d39f97479940899e14c6cf9b5661 to your computer and use it in GitHub Desktop.
func Log(level, message string, args ...interface{}) {
params := append([]interface{}{level + ": ", message + " "}, sanitize(args...)...)
log.Print(params...)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment