Skip to content

fix: correct DEBUG log level handling in WalletManager#265

Merged
drichar merged 1 commit intomainfrom
fix/set-debug-log-level
Sep 18, 2024
Merged

fix: correct DEBUG log level handling in WalletManager#265
drichar merged 1 commit intomainfrom
fix/set-debug-log-level

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
@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