1 parent 566542a commit 883cd89Copy full SHA for 883cd89
1 file changed
packages/shared/pkg/logger/logger.go
@@ -37,7 +37,7 @@ type LoggerConfig struct {
37
// Encoding sets the logger's encoding. If empty, defaults to "console".
38
Encoding string
39
// EncoderConfig optionally overrides the default encoder config.
40
- // If nil, defaults to GetConsoleEncoderConfig()
+ // If the encoding is set to "console," it defaults to GetConsoleEncoderConfig(); otherwise, it needs to be specified.
41
EncoderConfig *zapcore.EncoderConfig
42
}
43
0 commit comments