flashbots / mev-inspect-rs

Discover historic Miner Extractable Value (MEV) opportunities
MIT License
547 stars 127 forks source link

Use tracing for logging #17

Open gakonst opened 3 years ago

gakonst commented 3 years ago

Is your feature request related to a problem? Please describe. Currently the library offers no logging.

Describe the solution you'd like

Tracing provides great logging support with various levels of verbosity along with contexts, instead of using println calls. Example of past integration:

https://github.com/celo-org/snark-setup/pull/44 https://github.com/celo-org/snark-setup/pull/43

hariamoor-zz commented 3 years ago

Hi: If this issue is being considered, I'd be happy to get started by providing a contribution, e.g., with the given library. Please let me know if this is necessary.

gakonst commented 3 years ago

Go for it!