//remove UNITY_NOT_RELEASE define in Project setting to completely strip all logs void Awake() { CustomLog.LogWarning("Warning"); }