diff --git a/internal/utils/singleton.go b/internal/utils/singleton.go index c67da712f..a37a84771 100644 --- a/internal/utils/singleton.go +++ b/internal/utils/singleton.go @@ -34,6 +34,7 @@ func (s *UniqueValidatorID) GetUniqueID() uint32 { return atomic.AddUint32(&s.uniqueID, 1) } +// GetLogInstance returns logging singleton. func GetLogInstance() log.Logger { onceForLog.Do(func() { logInstance = log.New()