mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-05-02 03:02:54 -04:00
**What does this PR do? Why is it needed?** This PR adds the `runtime` package and it's subpackages (except `runtime/logging`) to the log generation process. which means they get an additional `log.go` file with the package path as a field. **Other notes for review** - `runtime/logging` is an exception because adding it to the log gen process messes with the internals of the package, since it's handling the logging formats, etc... - to test this, you can look at the logs emitted from these packages before and after this PR. they will have a field `prefix` before this PR, and no `prefix` after. The most obvious one is the runtime (`registry`) package itself which usually emits a log at the start and end of beacon node. This is as part of my goal to remove all `prefix` logs and move them to the new `package_path` format.
555 B
555 B