glide
glide copied to clipboard
feat: add zap logger
CLOSES #274 FIXES #274
Description
In this PR I have added a zap
logger for the CLI
Additional Information
- The log looks something like this if run a simple exe after the main.go build
{"level":"fatal","timestamp":"2024-06-27T16:42:37.861+0530","caller":"glide/main.go:44","msg":"💥Glide has finished with error","error":"required flag(s) \"config\" not set","stacktrace":"main.main\n\tH:/glide/main.go:44\nruntime.main\n\tC:/Users/hansh/go/pkg/mod/golang.org/[email protected]/src/runtime/proc.go:271"}