bee
bee copied to clipboard
feat: semantically segmented logging
Summary
i would like multiple loggers segmented semantically, because at the moment it is very difficult to understand what is going on.
possible segments:
- kademlia
- push
- pull
- batch snapshot
- API
- chain ops
- swap
- etc. etc.
Motivation
to make sense of the logs
Implementation
it could be as simple as namespacing the logs, but perhaps there is a better way using multiple loggers or switching out the log library
Drawbacks
might be a bit of a laborious project, but many hands make light work, perhaps could bounty