[Unity][C#] 게임에서 에러 발생으로 Crash가 발생 하면 로그 받기 public class CrashHandler : MonoBehaviour { void OnEnable() { Application.logMessageReceived += HandleLog; } void OnDisable() { Application.logMessageReceived -= HandleLog; } void HandleLog(string logString, string stackTrace, LogType type) { switch (type) { case LogType.Error: case LogType.Assert: case LogType.Exception: { Debug.Log($"[CrashHandler] {..