code: func FromRequest(r *http.Request) Logger {
  	if r == nil {
  		return NopLogger
  	}
  	return FromContext(r.Context())
  }
docs: // FromRequest gets the logger in the request's context.
  // This is a shortcut for xlog.FromContext(r.Context())