mirror of https://github.com/sirupsen/logrus.git
Fixes typo in WithField documentation
This commit is contained in:
parent
27b713cfd2
commit
2612e8496d
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue