Skip to content

Commit f263861

Browse files
committed
Reduce logging
1 parent 3a39ea3 commit f263861

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

Assets/Scripts/Config/ArgumentReader.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
11
using System;
2-
using UnityEngine;
32

43
public static class ArgumentReader
54
{
65
public static string GetCommandLineArg(string name)
76
{
87
var args = Environment.GetCommandLineArgs();
9-
Debug.Log($"Received {args.Length} arguments.");
10-
for (var i = 0; i < args.Length; i++)
11-
{
12-
if (args[i].StartsWith("-"))
13-
{
14-
Debug.Log($" {args[i]}");
15-
}
16-
}
17-
188
for (var i = 0; i < args.Length; i++)
199
{
2010
if (args[i] == "-" + name && args.Length > i + 1)

Assets/Scripts/Config/SentryCliConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public override void Configure(SentryCliOptions cliOptions)
99

1010
if (!string.IsNullOrEmpty(cliOptions.Auth))
1111
{
12-
Debug.Log("The 'AUTH TOKEN' is already set and taken from local cli options.");
12+
Debug.Log("The 'AUTH TOKEN' is already set.");
1313
return;
1414
}
1515

Assets/Scripts/Config/SentryOptionConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public override void Configure(SentryUnityOptions options)
99

1010
if (!string.IsNullOrEmpty(options.Dsn))
1111
{
12-
Debug.Log("The 'DSN' is already set and taken from local options.");
12+
Debug.Log("The 'DSN' is already set.");
1313
return;
1414
}
1515

0 commit comments

Comments
 (0)