Skip to content

Commit

Permalink
HideInCallstackAttribute is from 2021.3.23f1
Browse files Browse the repository at this point in the history
  • Loading branch information
ousttrue committed Aug 5, 2024
1 parent 4692025 commit 79caa10
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 79caa10

Please sign in to comment.