Skip to content

Commit

Permalink
Merge pull request #2402 from ousttrue/fix/HideInCallstackAttribute
Browse files Browse the repository at this point in the history
HideInCallstackAttribute is from 2021.3.23f1
  • Loading branch information
ousttrue authored Aug 5, 2024
2 parents 4692025 + 79caa10 commit f8120fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/UniGLTF/Runtime/Utils/UniGLTFLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ public static void SetLogger(ILogHandler logger)
}

[System.Diagnostics.Conditional("VRM_DEVELOP")]
#if UNITY_2022_OR_NEWER
[HideInCallstack]
#endif
public static void Log(string msg, UnityEngine.Object context = null) => s_logger.LogFormat(LogType.Log, context, msg);
}
}

0 comments on commit f8120fb

Please sign in to comment.