Skip to content

Conversation

@IAmPara0x
Copy link
Contributor

@IAmPara0x IAmPara0x commented Jul 21, 2022

I have been working on coin selection algorithm, and frequently I wanted to log things and check those logs. But the problem with current logging is that it dumps all the logs that's not relevant in this case, often I have to search for the log that's relevant.

This PR aims to solve that, now we can view logs that are only relevant.

Eg: I want to find a log with Selected UTxOs Index.

Before Logs: https://pastebin.com/StGLfE3z
After Logs: https://pastebin.com/xMDmT2HB

Copy link
Collaborator

@szg251 szg251 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, this will make everyone's lives easier

@IAmPara0x IAmPara0x merged commit afbafe3 into master Jul 22, 2022
@mikekeke mikekeke deleted the improve-logging branch August 15, 2022 14:21
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.

3 participants