Last active
August 12, 2020 00:14
-
-
Save mikru1688/91972dfad78fc2e6c417b44d9de434bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func log(WithDefaultValue anything: Any, file: String = #file, line: Int = #line, column: Int = #column, function: String = #function) { | |
print("log: \(anything) \nfile = \(file) \ncolumn = \(column) \nline = \(line) \nfunction = \(function)") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment