code: func (s *StanLogger) SetLogger(log Logger, logtime, debug, trace bool, logfile string) {
  	s.mu.Lock()
  	s.log = log
  	s.ltime = logtime
  	s.debug = debug
  	s.trace = trace
  	s.lfile = logfile
  	s.mu.Unlock()
  }
docs: // SetLogger sets the logger, debug and trace