Consensys / gpact

General Purpose Atomic Crosschain Transaction Protocol
Apache License 2.0
83 stars 26 forks source link

Ensure logger reports the correct file and line number of caller #116

Closed ermyas closed 2 years ago

ermyas commented 2 years ago

Currently, we use a wrapper around zerolog in order to have a more convenient logging API to use. This, however, results in the wrapper's file and line numbers being reported in logs instead of the caller's. This PR addresses this issue.