code: func (m *MMClient) SetLogLevel(level string) {
  	l, err := logrus.ParseLevel(level)
  	if err != nil {
  		m.logger.Warnf("Failed to parse specified log-level '%s': %#v", level, err)
  	} else {
  		m.rootLogger.SetLevel(l)
  	}
  }
docs: // SetLogLevel tries to parse the specified level and if successful sets
  // the log level accordingly. Accepted levels are: 'debug', 'info', 'warn',
  // 'error', 'fatal' and 'panic'.