-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unable to set log level #947
Labels
bug
Verified to be an issue.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
Comments
It looks like I have a case mismatch in the enum compared to the lookup table. Can you try using the string |
Doing this:
Should work in plain JS, since:
Unfortunately, in a Typescript project this raises an error:
|
ricmoo
added a commit
that referenced
this issue
Jul 20, 2020
ricmoo
added a commit
that referenced
this issue
Jul 20, 2020
This should be fixed in v5.0.7. Try it out and let me know if it works for you. :) |
@ricmoo It works, thank you! |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
bug
Verified to be an issue.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
Hello, thank you for your work on
ethers.js
. I'm trying to set the log level onethers@5.0.5
:But that does not appear to work. Instead, it outputs:
What's the right way to set the log level? I've looked at #379, but the API seems to have changed.
The text was updated successfully, but these errors were encountered: