Skip to content

Type mismatch between Logger.level in log4js.d.ts and logger.js #1010

@jayarajanp

Description

@jayarajanp

Type of getLogger().level shown by VS Code intellisense is string. But when I run it, I'm getting Level object.

It seems there is a mismatch between Logger class in log4js.d.ts and logger.js (please refer the attached image), or I'm missing something here.

mismatch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions