-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update events schema #75
Conversation
@@ -44,9 +45,13 @@ func main() { | |||
log.Fatal().Err(err).Msg("error while creating db client") | |||
} | |||
|
|||
qm, err := queue.NewQueueManager(&cfg.Queue) | |||
// Create a basic zap logger | |||
zapLogger, _ := zap.NewProduction() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why using zap instead of the "github.com/rs/zerolog/log"
that's already in the repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zap is needed for the queue-client, it accespt a logger in arguments 😄
This pr