code: func (s *Logging) SetObserver(observer Observer) {
  	s.mutex.Lock()
  	s.observer = observer
  	s.mutex.Unlock()
  }
docs: // SetObserver is used to provide a log observer that will be called as log
  // levels are checked or written.. Only a single observer is supported.