Merge pull request #237 from ryanfaerman/patch-1

Fixes typo in WithField documentation
This commit is contained in:
Simon Eskildsen
2015-08-23 13:59:52 -04:00
+1 -1
View File
@@ -53,7 +53,7 @@ func New() *Logger {
// Adds a field to the log entry, note that you it doesn't log until you call
// Debug, Print, Info, Warn, Fatal or Panic. It only creates a log entry.
// Ff you want multiple fields, use `WithFields`.
// If you want multiple fields, use `WithFields`.
func (logger *Logger) WithField(key string, value interface{}) *Entry {
return NewEntry(logger).WithField(key, value)
}