Merge pull request #69 from zimmski/typos

fix some typos
This commit is contained in:
Simon Eskildsen
2014-10-16 09:15:30 -04:00
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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.
+2 -2
View File
@@ -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...)
}
+1 -1
View File
@@ -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"]