mocktracer/mockspan.go
func (s *MockSpan) Logs() []MockLogRecord {
	s.RLock()
	defer s.RUnlock()
	logs := make([]MockLogRecord, len(s.logs))
	copy(logs, s.logs)
	return logs
}
func (s *MockSpan) Logs() []MockLogRecord {
	s.RLock()
	defer s.RUnlock()
	logs := make([]MockLogRecord, len(s.logs))
	copy(logs, s.logs)
	return logs
}
func ( s * MockSpan ) Logs ( ) [ ] MockLogRecord { s . RLock ( ) defer s . RUnlock ( ) logs := make ( [ ] MockLogRecord , len ( s . logs ) ) copy ( logs , s . logs ) return logs }
// Logs returns a copy of logs accumulated in the span so far
Logs returns a copy of logs accumulated in the span so far