bee icon indicating copy to clipboard operation
bee copied to clipboard

feat: semantically segmented logging

Open significance opened this issue 3 years ago • 0 comments

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

significance avatar Apr 30 '22 08:04 significance