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

fix: correct DEBUG log level handling in WalletManager #265

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

drichar
Copy link
Collaborator

@drichar drichar commented Sep 18, 2024

Description

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

- Refactor logger initialization in `WalletManager` to correctly handle DEBUG log level
- Add `WalletManagerOptions` interface for better type safety
- Improve log level determination logic
- Export `WalletManagerOptions` from index.ts for external use

This commit ensures that the DEBUG log level is properly set and respected, fixing an issue where DEBUG logs were not being output as expected.
@drichar drichar merged commit 4912e4e into main Sep 18, 2024
1 check passed
@drichar drichar deleted the fix/set-debug-log-level branch September 18, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant