added level based logging using uber/zap

This commit is contained in:
aishwarya-raimule
2023-01-09 19:34:48 +05:30
parent 1ad5c94ee2
commit 755b85ef15
8 changed files with 164 additions and 398 deletions

1
go.mod
View File

@@ -14,6 +14,7 @@ require (
github.com/rs/cors v1.8.2 // indirect
github.com/spf13/viper v1.7.1
github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c
go.uber.org/zap v1.10.0
google.golang.org/protobuf v1.25.0 // indirect
gopkg.in/confluentinc/confluent-kafka-go.v1 v1.5.2 // indirect
gopkg.in/jcmturner/aescts.v1 v1.0.1 // indirect