log pkg moved

This commit is contained in:
nquidox 2026-03-20 16:08:36 +03:00
parent 64a242cdea
commit efecc9d8a7
3 changed files with 21 additions and 2 deletions

View file

@ -5,6 +5,7 @@ import (
"merch-api/config"
_ "merch-api/docs"
"merch-api/internal/app"
"merch-api/internal/appLog"
"os"
"os/signal"
"syscall"
@ -21,7 +22,7 @@ func main() {
defer cancel()
cfg := config.NewConfig()
config.LogSetup(cfg.App.Mode, cfg.App.LogLvl)
appLog.LogSetup(cfg.App.Mode, cfg.App.LogLvl)
appl := app.New(ctx, cfg)