diff --git a/entry.go b/entry.go index dc2b0a7..9b1af6b 100644 --- a/entry.go +++ b/entry.go @@ -8,7 +8,7 @@ import ( "time" ) -// An entry is the final or intermediate Logrus logging entry. It containts all +// An entry is the final or intermediate Logrus logging entry. It contains all // the fields passed with WithField{,s}. It's finally logged when Debug, Info, // Warn, Error, Fatal or Panic is called on it. These objects can be reused and // passed around as much as you wish to avoid field duplication. diff --git a/exported.go b/exported.go index 383ce93..0e2d59f 100644 --- a/exported.go +++ b/exported.go @@ -96,7 +96,7 @@ func Fatal(args ...interface{}) { std.Fatal(args...) } -// Debugf logs a message at level Debugf on the standard logger. +// Debugf logs a message at level Debug on the standard logger. func Debugf(format string, args ...interface{}) { std.Debugf(format, args...) } @@ -126,7 +126,7 @@ func Errorf(format string, args ...interface{}) { std.Errorf(format, args...) } -// Panicf logs a message at level Pancf on the standard logger. +// Panicf logs a message at level Panic on the standard logger. func Panicf(format string, args ...interface{}) { std.Panicf(format, args...) } diff --git a/formatter.go b/formatter.go index cccf1c2..74c49a0 100644 --- a/formatter.go +++ b/formatter.go @@ -24,7 +24,7 @@ type Formatter interface { // // {"level": "info", "fields.level": 1, "msg": "hello", "time": "..."} // -// It's not exported because it's still using Data in an opionated way. It's to +// 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(entry *Entry) { _, ok := entry.Data["time"]