Skip to content

Commit

Permalink
Added caller to exported config.Logger call
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimnz committed Jul 29, 2022
1 parent d4edb31 commit 2e378dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ func (logcfg LoggingConfig) ToLoggerConfig() (logging.Config, error) {
DisableColor: logging.NewDisableColorOption(logcfg.NoColor),
EncoderFormat: logging.NewEncoderFormatOption(encfmt),
OutputPaths: []string{logcfg.OutputPath},
EnableCaller: logging.NewEnableCallerOption(logcfg.Caller),
OverridesByLoggerName: overrides,
}, nil
}
Expand Down

0 comments on commit 2e378dd

Please sign in to comment.