mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
Removing unecceary EventName requirement. EventSource<T>.Write will use the type name of T if null is passed in. This saves us passing an extra string uneccesarily as the public property would be serialized into the event data as well as being specified as the EventName
This commit is contained in:
@@ -99,7 +99,7 @@ namespace PowerLauncher
|
||||
|
||||
bootTime.Stop();
|
||||
|
||||
PowerToysTelemetry.Log.WriteEvent(new BootEvent() { BootTimeMs = bootTime.ElapsedMilliseconds });
|
||||
PowerToysTelemetry.Log.WriteEvent(new LauncherBootEvent() { BootTimeMs = bootTime.ElapsedMilliseconds });
|
||||
|
||||
//[Conditional("RELEASE")]
|
||||
// check udpate every 5 hours
|
||||
|
||||
@@ -67,7 +67,7 @@ namespace PowerLauncher
|
||||
_firstDeleteTimer.Stop();
|
||||
if (_deletePressed)
|
||||
{
|
||||
PowerToysTelemetry.Log.WriteEvent(new FirstDeleteEvent());
|
||||
PowerToysTelemetry.Log.WriteEvent(new LauncherFirstDeleteEvent());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user