To print to the console we use the the unity Debug class.
Debug
​Debug.Log("Simple log");Debug.LogError("This is an error...");Debug.LogWarning("This is a warning...")Debug.Log(new Vector3(0,0,0));Debug.Log(myvalue);