Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 867027b

Browse files
Merge pull request #330 from AkashGutha/patch-1
Consolidating initializing message to a single line Fixes #203
2 parents 7fd38d8 + ae96f0d commit 867027b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/EntryPoint.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ private static void Initialize()
3737

3838
if (ApplicationCache.Instance.FirstRun)
3939
{
40-
Debug.Log("Initialized GitHub for Unity version " + ApplicationInfo.Version);
41-
4240
var oldLogPath = logPath.Parent.Combine(logPath.FileNameWithoutExtension + "-old" + logPath.ExtensionWithDot);
4341
try
4442
{
@@ -53,8 +51,9 @@ private static void Initialize()
5351
Logging.Error(ex, "Error rotating log files");
5452
}
5553

56-
Debug.Log("Initialized GitHub for Unity log file: " + logPath);
54+
Debug.LogFormat("Initialized GitHub for Unity version {0}{1}Log file: {2}", ApplicationInfo.Version, Environment.NewLine, logPath);
5755
}
56+
5857
Logging.LogAdapter = new FileLogAdapter(logPath);
5958
Logging.Info("Initializing GitHub for Unity version " + ApplicationInfo.Version);
6059

0 commit comments

Comments
 (0)