code: func GetHandler(ctx *router.Context) {
  	start := clock.Now(ctx.Context)
  	// Start the fetcher and wait for fetched logs to arrive into ch.
  	data, err := startFetch(ctx.Context, ctx.Request, ctx.Params.ByName("path"))
  	if err != nil {
  		logging.WithError(err).Errorf(ctx.Context, "failed to start fetch")
  		writeErrorPage(ctx, err, data)
  		return
  	}
  	writeOKHeaders(ctx, data)
  
  	// Write the log contents and then the footer.
  	err = serve(ctx.Context, data, ctx.Writer)
  	if err != nil {
  		logging.WithError(err).Errorf(ctx.Context, "failed to serve logs")
  	}
  	writeFooter(ctx, start, err, data.options.isHTML())
  }
docs: // GetHandler is an HTTP handler for retrieving logs.