Commenting out the debug/info logs so the logs will only have errors

This commit is contained in:
dlprows 2023-09-24 15:02:20 -06:00
parent 5711ace990
commit 708180dc8e

View File

@ -55,7 +55,7 @@ public class DialAction : EncoderBase
public override void Dispose() public override void Dispose()
{ {
Logger.Instance.LogMessage(TracingLevel.DEBUG, "Disposing"); //Logger.Instance.LogMessage(TracingLevel.DEBUG, "Disposing");
WindowChangedEventLoop.Instance.WindowChanged -= WindowChanged; WindowChangedEventLoop.Instance.WindowChanged -= WindowChanged;
} }
@ -63,7 +63,7 @@ public class DialAction : EncoderBase
{ {
try try
{ {
Logger.Instance.LogMessage(TracingLevel.INFO, "Dial Down"); //Logger.Instance.LogMessage(TracingLevel.INFO, "Dial Down");
await ToggleMuteAsync(); await ToggleMuteAsync();
} }
catch (Exception ex) catch (Exception ex)
@ -77,7 +77,7 @@ public class DialAction : EncoderBase
{ {
try try
{ {
Logger.Instance.LogMessage(TracingLevel.INFO, "Touch Press"); //Logger.Instance.LogMessage(TracingLevel.INFO, "Touch Press");
if (payload.IsLongPress) if (payload.IsLongPress)
{ {
await ResetAllAsync(); await ResetAllAsync();
@ -97,7 +97,7 @@ public class DialAction : EncoderBase
{ {
try try
{ {
Logger.Instance.LogMessage(TracingLevel.INFO, "Dial Rotate"); //Logger.Instance.LogMessage(TracingLevel.INFO, "Dial Rotate");
//dial rotated. ticks positive for right, negative for left //dial rotated. ticks positive for right, negative for left
var activeSession = _audioHelper.Current; var activeSession = _audioHelper.Current;
if (activeSession != null) if (activeSession != null)