pkg/logutil: add godoc on zap encoder field names
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>release-3.4
parent
6d0f71e4c2
commit
2271db7552
|
@ -41,6 +41,8 @@ type journaldWriter struct {
|
||||||
io.Writer
|
io.Writer
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WARN: assume that etcd uses default field names in zap encoder config
|
||||||
|
// make sure to keep this up-to-date!
|
||||||
type logLine struct {
|
type logLine struct {
|
||||||
Level string `json:"level"`
|
Level string `json:"level"`
|
||||||
Caller string `json:"caller"`
|
Caller string `json:"caller"`
|
||||||
|
|
Loading…
Reference in New Issue