Skip to content

Commit

Permalink
Fix invalid encoder config for zap logger
Browse files Browse the repository at this point in the history
Signed-off-by: Yoshiki Fujikane <ffjlabo@gmail.com>
  • Loading branch information
ffjlabo committed Dec 13, 2024
1 parent 471b50e commit 9ddcc8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func newConfig(level zapcore.Level, encoding EncodingType) zap.Config {
func newEncoderConfig(encoding EncodingType) zapcore.EncoderConfig {
if encoding == HumanizeEncoding {
return zapcore.EncoderConfig{
TimeKey: "eventTime",
TimeKey: "",
LevelKey: "",
NameKey: "",
CallerKey: "",
Expand Down

0 comments on commit 9ddcc8e

Please sign in to comment.