Commit 087f51cf authored by alvaroroyof's avatar alvaroroyof
Browse files

Added function correctly

parent 50624002
......@@ -15,13 +15,13 @@ public func println(_ message: String, tag:String = "", colour:UIColor = ARPrint
}
public func printError(_ message: String, functionName:String = #function) {
println(message, tag: "Error", colour: UIColor.red)
println(message, tag: "Error", colour: UIColor.red, functionName: functionName)
}
public func printDebug(_ message: String, functionName:String = #function) {
println(message, tag: "Debug", colour: UIColor.cyan)
println(message, tag: "Debug", colour: UIColor.cyan, functionName: functionName)
}
public func printWarning(_ message: String, functionName:String = #function) {
println(message, tag: "Warning", colour: UIColor.orange)
println(message, tag: "Warning", colour: UIColor.orange, functionName: functionName)
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment