Fixes typo in WithField documentation

This commit is contained in:
Ryan Faerman 2015-08-20 00:07:28 -04:00
parent 27b713cfd2
commit 2612e8496d
1 changed files with 1 additions and 1 deletions

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 // 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. // 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 { func (logger *Logger) WithField(key string, value interface{}) *Entry {
return NewEntry(logger).WithField(key, value) return NewEntry(logger).WithField(key, value)
} }