Log-Output formatting
This commit is contained in:
parent
a723b029b4
commit
5a3d185491
@ -101,7 +101,7 @@ public class Blur
|
||||
}
|
||||
catch (ErrorResponseException e)
|
||||
{
|
||||
_logger?.LogError(e, "Request DuplicateSceneItem");
|
||||
_logger?.LogError(e, "Request 'DuplicateSceneItem'");
|
||||
throw;
|
||||
}
|
||||
}
|
||||
@ -133,7 +133,7 @@ public class Blur
|
||||
}
|
||||
catch (ErrorResponseException e)
|
||||
{
|
||||
_logger?.LogError(e, "Request SetSceneItemTransform");
|
||||
_logger?.LogError(e, "Request 'SetSceneItemTransform'");
|
||||
throw;
|
||||
}
|
||||
|
||||
@ -150,7 +150,7 @@ public class Blur
|
||||
}
|
||||
catch (ErrorResponseException e)
|
||||
{
|
||||
_logger?.LogError(e, "Request SetSceneItemEnabled");
|
||||
_logger?.LogError(e, "Request 'SetSceneItemEnabled'");
|
||||
throw;
|
||||
}
|
||||
}
|
||||
@ -171,7 +171,7 @@ public class Blur
|
||||
}
|
||||
catch (ErrorResponseException e)
|
||||
{
|
||||
_logger?.LogError(e, "Request RemoveSceneItem");
|
||||
_logger?.LogError(e, "Request 'RemoveSceneItem'");
|
||||
throw;
|
||||
}
|
||||
}
|
||||
@ -197,7 +197,7 @@ public class Blur
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_logger?.LogError(e, "Request GetSceneItemId");
|
||||
_logger?.LogError(e, "Request 'GetSceneItemId'");
|
||||
throw;
|
||||
}
|
||||
}
|
||||
@ -236,14 +236,14 @@ public class Blur
|
||||
private void WebsocketOnConnected(object? sender, EventArgs e)
|
||||
{
|
||||
_currentObsScene = _websocket.GetCurrentProgramScene();
|
||||
_logger?.LogInformation($"Obs Connected. Current Scene {_currentObsScene}");
|
||||
_logger?.LogInformation($"Obs Connected. Current Scene '{_currentObsScene}'");
|
||||
UpdateBlurs();
|
||||
}
|
||||
|
||||
private void WebsocketOnCurrentProgramSceneChanged(object? sender, ProgramSceneChangedEventArgs e)
|
||||
{
|
||||
_currentObsScene = e.SceneName;
|
||||
_logger?.LogInformation($"Obs Scene Changed -> {_currentObsScene}");
|
||||
_logger?.LogInformation($"Obs Scene Changed -> '{_currentObsScene}'");
|
||||
UpdateBlurs();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user