void GUIDisplayControls()

in crashlytics/testapp/Assets/Firebase/Sample/Crashlytics/UIHandler.cs [131:174]


    void GUIDisplayControls() {
      if (UIEnabled) {
        controlsScrollViewVector =
            GUILayout.BeginScrollView(controlsScrollViewVector);
        GUILayout.BeginVertical();

        if (GUILayout.Button("Throw Exception")) {
          ThrowUncaughtException();
        }

        if (GUILayout.Button("Log Caught Exception")) {
          LogCaughtException();
        }

        if (GUILayout.Button("Log message")) {
          WriteCustomLog("This is a log message.");
        }

        if (GUILayout.Button("Set Custom Keys")) {
          SetCustomKey("MyKey", "TheValue");
        }

        if (GUILayout.Button("Set User ID")) {
          SetUserID("SomeUserId");
        }

        if (GUILayout.Button("Perform All Actions")) {
          DebugLog("All actions will be performed. To view issues:");
          DebugLog(" 1. Force close app");
          DebugLog(" 2. Relaunch app");
          DebugLog(" 3. Visit Firebase Crashlytics console.");
          DebugLog("    Add a time filter to more easily identify the errors if needed.\n");

          WriteCustomLog("This is a log message.");
          SetCustomKey("MyKey", "TheValue");
          SetUserID("SomeUserId");
          LogCaughtException();
          ThrowUncaughtException();
        }

        GUILayout.EndVertical();
        GUILayout.EndScrollView();
      }
    }