Skip to content

Instantly share code, notes, and snippets.

@danielvlopes
Created June 2, 2017 02:16
Show Gist options
  • Select an option

  • Save danielvlopes/675695963c4b2d3a3cc4dc52937ff7ec to your computer and use it in GitHub Desktop.

Select an option

Save danielvlopes/675695963c4b2d3a3cc4dc52937ff7ec to your computer and use it in GitHub Desktop.
func logMessage(message message:String,
withPrefix prefix: NSString,
andSuffix suffix: NSString) {
print("\(prefix)-\(message)-\(suffix)")
}
logMessage(message: "QWERTY", withPrefix: "***", andSuffix: "$$$")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment