Skip to content

Commit 883cd89

Browse files
authored
Apply suggestion from @jakubno
1 parent 566542a commit 883cd89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/shared/pkg/logger/logger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type LoggerConfig struct {
3737
// Encoding sets the logger's encoding. If empty, defaults to "console".
3838
Encoding string
3939
// EncoderConfig optionally overrides the default encoder config.
40-
// If nil, defaults to GetConsoleEncoderConfig()
40+
// If the encoding is set to "console," it defaults to GetConsoleEncoderConfig(); otherwise, it needs to be specified.
4141
EncoderConfig *zapcore.EncoderConfig
4242
}
4343

0 commit comments

Comments
 (0)