func (s *Stream) SetLogger(log ttnlog.Interface) {
	s.mu.Lock()
	s.log = log
	s.mu.Unlock()
}
func (s *Stream) SetLogger(log ttnlog.Interface) {
	s.mu.Lock()
	s.log = log
	s.mu.Unlock()
}
// SetLogger sets the logger for this streambuffer