Skip to content

Commit

Permalink
v1.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
BarRaider committed Feb 28, 2019
1 parent 6a1b4e6 commit 7232bd3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Stopwatch/StopwatchTimer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ public override void KeyPressed(KeyPayload payload)
keyPressStart = DateTime.Now;
keyPressed = true;

Logger.Instance.LogMessage(TracingLevel.INFO, "Key Pressed");

if (tmrStopwatch != null && tmrStopwatch.Enabled)
{
PauseStopwatch();
Expand All @@ -92,6 +94,7 @@ public override void KeyPressed(KeyPayload payload)
public override void KeyReleased(KeyPayload payload)
{
keyPressed = false;
Logger.Instance.LogMessage(TracingLevel.INFO, "Key Released");
}

public async override void OnTick()
Expand All @@ -114,7 +117,7 @@ public async override void OnTick()

public override void Dispose()
{
PauseStopwatch();
Logger.Instance.LogMessage(TracingLevel.INFO, "Destructor called");
}

#endregion
Expand Down

0 comments on commit 7232bd3

Please sign in to comment.