Skip to content

Commit

Permalink
fix(logging): Make foreground change message verbose
Browse files Browse the repository at this point in the history
Avoid spamming the logs of SoundSwitch
  • Loading branch information
Belphemur committed Feb 2, 2023
1 parent 6ecf741 commit 6c69344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SoundSwitch/Framework/Profile/ProfileManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ private void RegisterEvents()
{
_windowMonitor.ForegroundChanged += (sender, @event) =>
{
Log.Debug("Foreground changed: [{0}] {1} - {2}", @event.ProcessName, @event.WindowName, @event.WindowClass);
Log.Verbose("Foreground changed: [{0}] {1} - {2}", @event.ProcessName, @event.WindowName, @event.WindowClass);
if (HandleSteamBigPicture(@event)) return;

if (HandleApplication(@event)) return;
Expand Down

0 comments on commit 6c69344

Please sign in to comment.