code: func (h *HTTP) Log(e log.Entry) {
  	h.once.Do(func() {
  		h.formatter = h.formatFunc(h)
  	})
  	remoteHost := h.RemoteHost()
  	req, _ := stdhttp.NewRequest(h.Method(), remoteHost, nil)
  	req.Header = h.Headers()
  
  	b := h.formatter(e)
  
  	reader := bytes.NewReader(b)
  	req.Body = ioutil.NopCloser(reader)
  	req.ContentLength = int64(reader.Len())
  
  	resp, err := h.client.Do(req)
  	if err != nil {
  		log.Errorf("Could not post data to %s: %v\n", remoteHost, err)
  		return
  	}
  
  	if resp.StatusCode < 200 || resp.StatusCode >= 299 {
  		bt, _ := ioutil.ReadAll(resp.Body)
  		log.Errorf("Received HTTP %d during POST request to %s body: %s\n", resp.StatusCode, remoteHost, string(bt))
  	}
  }
docs: // Log handles the log entry