1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-01-23 17:53:05 +02:00

log when starting the service

This commit is contained in:
Asim Aslam 2019-12-31 12:07:52 +00:00
parent b6915f0898
commit 488dc31743

View File

@ -182,6 +182,8 @@ func (s *service) Run() error {
defer profiler.Stop()
}
log.Logf("Starting [service] %s", s.Name())
if err := s.Start(); err != nil {
return err
}