api-go/internal/decision_logger/controllers/logs.go
package controllers
import (
"github.com/gin-gonic/gin"
"github.com/rs/zerolog/log"
"io"
"net/http"
)
func Logs(c *gin.Context) {
bodyBytes, _ := io.ReadAll(c.Request.Body)
log.Info().Bytes("bodyBytes", bodyBytes).Msg("Logs")
c.JSON(http.StatusOK, gin.H{
"status": "ok",
})
}