Closed
Description
Hello, thank you for your work on ethers.js
. I'm trying to set the log level on ethers@5.0.5
:
import { ethers } from 'ethers'
ethers.utils.Logger.setLogLevel(ethers.utils.Logger.levels.OFF)
But that does not appear to work. Instead, it outputs:
invalid log level - OFF
What's the right way to set the log level? I've looked at #379, but the API seems to have changed.