LoggerAPI icon indicating copy to clipboard operation
LoggerAPI copied to clipboard

functionName, lineNum and fileName are incorrect when swiftLogger is set

Open ss-abramchuk opened this issue 5 years ago • 0 comments

As I see, inside Log.verbose, Log.info, Log.warning, etc. methods swiftLogger uses default argument values. So instead of correct ones it uses functionName, lineNum and fileName that belong to the LoggerAPI. i.e. if you call Log.info("Message") somewhere in you project swiftLogger will show that it was called from Log.info

ss-abramchuk avatar Feb 04 '20 10:02 ss-abramchuk