code: func (l *Log) SetLogDir(logDir string) {
  	if logDir != "" {
  		l.mu.Lock()
  		defer l.mu.Unlock()
  		l.logDirs = append([]string{logDir}, l.logDirs...)
  	}
  }
docs: // logDir if non-empty, write log files to this directory.