Skip to content

Commit

Permalink
Use logger instead of fmt.Prinf.
Browse files Browse the repository at this point in the history
  • Loading branch information
ro-tex committed May 31, 2022
1 parent 610c5d4 commit 4754bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,6 @@ func main() {
if err != nil {
log.Fatal(errors.AddContext(err, "failed to build the API"))
}
fmt.Printf("Starting Accounts.\nGitRevision: %v (built %v)\n", build.GitRevision, build.BuildTime)
log.Printf("Starting Accounts.\nGitRevision: %v (built %v)\n", build.GitRevision, build.BuildTime)
logger.Fatal(server.ListenAndServe(3000))
}

0 comments on commit 4754bc7

Please sign in to comment.