Skip to content

Commit 37b4edd

Browse files
committed
fix(server): use RunLogger to print server started message
Fixes: #6
1 parent cfa2514 commit 37b4edd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func (s *GracefulServer) Run(sig ...os.Signal) {
7979
ctx := context.Background()
8080
ctx, cancel := context.WithCancel(ctx)
8181

82-
log.Printf("server %s running at %s", s.Name, s.Addr)
82+
logger.Printf("server %s running at %s", s.Name, s.Addr)
8383

8484
c := newSignalChan(sig...)
8585

0 commit comments

Comments
 (0)