Simple Swift logging class with inferred file/function/line
Been using a lot of print() when working on iOS projects. Hoping to see more information printed to aid in debugging, I did up a simple logging class in Swift which infers the file, function and line number where the logging is done. Not using the stack trace as the output from Thread.callStackSymbols is not …
Continue reading “Simple Swift logging class with inferred file/function/line”