Fix comment

This commit is contained in:
Tevin Zhang 2016-05-06 11:48:51 +08:00
parent cd7d1bbe41
commit 18073362a7
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,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 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.
// If 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 {