glide icon indicating copy to clipboard operation
glide copied to clipboard

feat: add zap logger

Open hanshal101 opened this issue 7 months ago • 3 comments

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"}

hanshal101 avatar Jun 27 '24 11:06 hanshal101