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

Commit 21f5a7e

Browse files
Adding log details for log invalidation
1 parent fecbc82 commit 21f5a7e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,18 +135,20 @@ public void ValidateData()
135135

136136
if (invalidOnFirstRun)
137137
{
138+
Logger.Trace("FirstRun Invalidation");
138139
InvalidateData();
139140
}
140141
}
141142
else if (DateTimeOffset.Now - LastUpdatedAt > DataTimeout)
142143
{
144+
Logger.Trace("Timeout Invalidation");
143145
InvalidateData();
144146
}
145147
}
146148

147149
public void InvalidateData()
148150
{
149-
Logger.Trace("Invalidated");
151+
Logger.Trace("Invalidate");
150152
CacheInvalidated.SafeInvoke();
151153
SaveData(DateTimeOffset.Now, false);
152154
}

0 commit comments

Comments
 (0)