diff options
| author | mo khan <mo@mokhan.ca> | 2025-03-27 11:47:58 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-03-27 11:47:58 -0600 |
| commit | 3faa19c3aeae15070f2e143b031daaddfe296735 (patch) | |
| tree | dc86e49908920c10479b9e9905c58c0c44e2cee6 /cmd/gtwy | |
| parent | b08580ff78708519f0594a62531cf6ce45559265 (diff) | |
feat: start to add structured logging
Diffstat (limited to 'cmd/gtwy')
| -rw-r--r-- | cmd/gtwy/main.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/gtwy/main.go b/cmd/gtwy/main.go index f2a7d2e..f74c030 100644 --- a/cmd/gtwy/main.go +++ b/cmd/gtwy/main.go @@ -1,12 +1,11 @@ package main import ( - "log" - "github.com/xlgmokha/x/pkg/env" "gitlab.com/mokhax/spike/pkg/app" + xlog "gitlab.com/mokhax/spike/pkg/log" ) func main() { - log.Fatal(app.Start(env.Fetch("BIND_ADDR", ":8080"))) + xlog.Default.Fatal(app.Start(env.Fetch("BIND_ADDR", ":8080"))) } |
