I Build a Swift Logger class that will log the file name, function name with parameters and line number as well.
But It requires me every time to write Logger.Log()
for every thing I need to log, But I want to not write down anymore, I want for every method pushed to the stack Trace It logged automatically, and If I want to log with custom message or data I can call the Log method again.
Is this possible to do?