This PR fixes an issue where the DEBUG log level was not being properly handled in the WalletManager in #264 resulting in DEBUG logs not being output as expected. It also includes some refactoring and improvements to the logger initialization process.
Details
Refactored logger initialization in WalletManager to correctly handle all log levels, including LogLevel.DEBUG
Added WalletManagerOptions interface for improved type safety and clarity
Improved log level determination logic to ensure correct handling of all possible inputs
Exported WalletManagerOptions from index.ts for external use
Description
This PR fixes an issue where the
DEBUG
log level was not being properly handled in theWalletManager
in #264 resulting inDEBUG
logs not being output as expected. It also includes some refactoring and improvements to the logger initialization process.Details
WalletManager
to correctly handle all log levels, includingLogLevel.DEBUG
WalletManagerOptions
interface for improved type safety and clarityWalletManagerOptions
from index.ts for external use