c# debug.log class code example Example 1: debug.log Debug.Log("Hello world"); Example 2: debug log unity Debug.Log("Hello World");