code: func InsertLogger(h httpx.Handler, g loggerGenerator) httpx.Handler {
  	return httpx.HandlerFunc(func(ctx context.Context, w http.ResponseWriter, r *http.Request) error {
  		l := g(ctx, r)
  
  		ctx = logger.WithLogger(ctx, l)
  		r = r.WithContext(ctx)
  
  		return h.ServeHTTPContext(ctx, w, r)
  	})
  }
docs: // InsertLogger returns an httpx.Handler middleware that will call f to generate
  // a logger, then insert it into the context.