kubernetes/vendor/github.com/sirupsen/logrus/formatter.go

const defaultTimestampFormat

const FieldKeyMsg

const FieldKeyLevel

const FieldKeyTime

const FieldKeyLogrusError

const FieldKeyFunc

const FieldKeyFile

type Formatter

// This is to not silently overwrite `time`, `msg`, `func` and `level` fields when
// dumping it. If this code wasn't there doing:
//
//  logrus.WithField("level", 1).Info("hello")
//
// Would just silently drop the user provided level. Instead with this code
// it'll logged as:
//
//  {"level": "info", "fields.level": 1, "msg": "hello", "time": "..."}
//
// It's not exported because it's still using Data in an opinionated way. It's to
// avoid code duplication between the two default formatters.
func prefixFieldClashes(data Fields, fieldMap FieldMap, reportCaller bool) {}