Skip to content

Commit 9f2cdd5

Browse files
neersightedmxpv
andcommitted
Add Fields type alias to log package
Co-authored-by: Maksym Pavlenko <[email protected]> (partial cherry-pick of 06e085c) Signed-off-by: Bjorn Neergaard <[email protected]>
1 parent 3274c9e commit 9f2cdd5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

log/context.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ var (
3535

3636
type (
3737
loggerKey struct{}
38+
39+
// Fields type to pass to `WithFields`, alias from `logrus`.
40+
Fields = logrus.Fields
3841
)
3942

4043
const (

0 commit comments

Comments
 (0)