func printRequest()

in internal/gitlab/client.go [121:130]


func printRequest(log log.FieldLogger, dreq []byte, e error) {
	if e != nil {
		log.WithError(e).Debug("Error printing the request")

		return
	}

	log.Debug("Sent request:")
	fmt.Printf("%s\n", tokenRegex.ReplaceAll(dreq, []byte("$1: [MASKED]")))
}