Skip to content

Commit

Permalink
fix(server): use RunLogger to print server started message
Browse files Browse the repository at this point in the history
Fixes: #6
  • Loading branch information
piraz committed Dec 15, 2024
1 parent cfa2514 commit 37b4edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (s *GracefulServer) Run(sig ...os.Signal) {
ctx := context.Background()
ctx, cancel := context.WithCancel(ctx)

log.Printf("server %s running at %s", s.Name, s.Addr)
logger.Printf("server %s running at %s", s.Name, s.Addr)

c := newSignalChan(sig...)

Expand Down

0 comments on commit 37b4edd

Please sign in to comment.