code: func CheckLogLevel(level string) error {
  	if !flogging.IsValidLevel(level) {
  		return errors.Errorf("invalid log level provided - %s", level)
  	}
  	return nil
  }
docs: // CheckLogLevel checks that a given log level string is valid