Replace System.Diagnostics with Unity Log.