Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Warn" log setting misfunctioning #14

Closed
Erallie opened this issue Aug 4, 2024 · 2 comments
Closed

"Warn" log setting misfunctioning #14

Erallie opened this issue Aug 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Erallie
Copy link

Erallie commented Aug 4, 2024

The "warn" log setting is printing all messages. I found what to fix:

In utils.ts in lines 91 and 92,
replace this:

    case "warn":
      return !["debug","info","log"].includes(logLevel);

with this:

    case "warn":
      return !["debug","info","log"].includes(logEvent.level);

like in lines 93 and 94 below it.

@czottmann
Copy link
Owner

Thanks for the report, I'll see that I'll release a fixed version later today!

@czottmann czottmann added the bug Something isn't working label Aug 6, 2024
@czottmann
Copy link
Owner

czottmann commented Aug 6, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants