Kitura / Kitura/LoggerAPI

functionName, lineNum and fileName are incorrect when swiftLogger is set

Open
#53 0 comments 0 reactions 1 assignee Claimed by @adam-rocska View on GitHub
Dominant language
Swift
Stars
29
Forks
23
PR merge metrics
No merged PRs in 30d

Description

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`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.