Skip to content
Unverified Commit b28ba4ae authored by Squirrel's avatar Squirrel Committed by GitHub
Browse files

Remove redundent logging code (#4059)



1. The `CustomFmtContext::ContextWithFormatFields` enum arm isn't
actually used and thus we don't need the enum anymore.

2. We don't do anything with most of the normalized metadata that's
created by calling `event.normalized_metadata();` - the `target` we can
get from `event.metadata.target()` and level we can get from
`event.metadata.level()` - let's just call them direct to simplify
things. (`event.metadata()` is just a field call under the hood)

Changelog: No functional changes, might run a tad faster with lots of
logging turned on.

---------

Co-authored-by: default avatarBastian Köcher <[email protected]>
parent c963dc28
Pipeline #465234 canceled with stages
in 58 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment