Skip to content

functionName, lineNum and fileName are incorrect when swiftLogger is set #53

@ss-abramchuk

Description

@ss-abramchuk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions