added time
parent
567b0b3c1d
commit
c84664fece
3
main.go
3
main.go
|
@ -20,6 +20,7 @@ import (
|
|||
"jannex/log-manager/modules/structs"
|
||||
"jannex/log-manager/modules/utils"
|
||||
"jannex/log-manager/routers/router"
|
||||
"time"
|
||||
|
||||
"git.ex.umbach.dev/Alex/roese-utils/rsconfig"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
|
@ -68,7 +69,7 @@ func main() {
|
|||
|
||||
loghandler.AddLog(structs.LogBody{
|
||||
Type: "logserver",
|
||||
Logs: []string{"Log Server started"},
|
||||
Logs: []string{time.Now().Format("02-01-2006 15:04:05") + "Log Server started"},
|
||||
})
|
||||
|
||||
app.Listen(config.Cfg.Host + ":" + config.Cfg.Port)
|
||||
|
|
Loading…
Reference in New Issue