func (e *logger) WithFields(fields Map) Logger {
	w := &logger{
		handler: e.handler,
		exitFn:  e.exitFn,
		fields:  e.copy(),
	}

	for key, value := range fields {
		w.fields[key] = value
	}

	return w
}
// WithFields returns a new log entry with the supplied fields appended
WithFields returns a new log entry with the supplied fields appended
// WithFields returns a new log entry with the supplied fields appended
func (e *logger) WithFields(fields Map) Logger {
	w := &logger{
		handler: e.handler,
		exitFn:  e.exitFn,
		fields:  e.copy(),
	}
	for key, value := range fields {
		w.fields[key] = value
	}
	return w
}
func ( e * logger ) WithFields ( fields Map ) Logger { w := & logger { handler : e . handler , exitFn : e . exitFn , fields : e . copy ( ) , } for key , value := range fields { w . fields [ key ] = value } return w }
WithFields returns a new log entry with the supplied fields appended
WithFields returns a new log entry with the supplied fields appended