package controllers
import (
"github.com/beego/beego/v2/server/web"
"os"
)
type LoggerController struct {
web.Controller
}
func (controller *LoggerController) Output() {
bytes, _ := os.ReadFile("./debug.log")
controller.Ctx.WriteString(string(bytes))
}