diff --git a/QControlKit/QControlKit.csproj b/QControlKit/QControlKit.csproj
index 3f709e0..a71cead 100644
--- a/QControlKit/QControlKit.csproj
+++ b/QControlKit/QControlKit.csproj
@@ -6,7 +6,7 @@
Joel Wetzell
1.0.0-devel
true
- 0.0.16
+ 0.0.17
QControlKit
MIT
Unofficial C# port of Figure53's QLabKit.objc
diff --git a/QControlKit/SharpOSC/TCPClient.cs b/QControlKit/SharpOSC/TCPClient.cs
index b8655eb..a5b9947 100644
--- a/QControlKit/SharpOSC/TCPClient.cs
+++ b/QControlKit/SharpOSC/TCPClient.cs
@@ -59,7 +59,7 @@ namespace SharpOSC
}
catch (Exception e)
{
- Console.WriteLine(e.Message);
+ Log.Error(e.Message);
return false;
}
diff --git a/QControlKit/SharpOSC/UDPListener.cs b/QControlKit/SharpOSC/UDPListener.cs
index cee6e35..59b147e 100644
--- a/QControlKit/SharpOSC/UDPListener.cs
+++ b/QControlKit/SharpOSC/UDPListener.cs
@@ -4,6 +4,7 @@ using System.Linq;
using System.Net.Sockets;
using System.Net;
using System.Threading;
+using Serilog;
namespace SharpOSC
{
@@ -96,7 +97,7 @@ namespace SharpOSC
}
catch (Exception e)
{
- Console.WriteLine(e.ToString());
+ Log.Error(e.ToString());
// If there is an error reading the packet, null is sent to the callback
}
//Log.Debug("Raw UDP In: " + System.Text.Encoding.ASCII.GetString(bytes));
diff --git a/QControlKitXamDemo/QControlKitXamDemo/CueListPage.xaml.cs b/QControlKitXamDemo/QControlKitXamDemo/CueListPage.xaml.cs
index 73c4cf0..f0b9399 100644
--- a/QControlKitXamDemo/QControlKitXamDemo/CueListPage.xaml.cs
+++ b/QControlKitXamDemo/QControlKitXamDemo/CueListPage.xaml.cs
@@ -36,7 +36,6 @@ namespace QControlKitXamDemo
private async void ConnectedWorkspace_WorkspaceConnectionError(object source, QWorkspaceConnectionErrorArgs args)
{
- System.Console.WriteLine("WorkspaceConnectionError Called");
if (args.status.Equals("badpass"))
{
string passcode = await DisplayPromptAsync("Passcode was incorrect.", "Try Again", maxLength: 4, keyboard: Keyboard.Numeric);
diff --git a/QControlKitXamDemo/QControlKitXamDemo/MainPage.xaml.cs b/QControlKitXamDemo/QControlKitXamDemo/MainPage.xaml.cs
index db7a143..80bb596 100644
--- a/QControlKitXamDemo/QControlKitXamDemo/MainPage.xaml.cs
+++ b/QControlKitXamDemo/QControlKitXamDemo/MainPage.xaml.cs
@@ -7,6 +7,7 @@ using System.Collections.Generic;
using System.Linq;
using QControlKit.Events;
using System.Threading.Tasks;
+using Serilog;
namespace QControlKitXamDemo
{
@@ -113,7 +114,7 @@ namespace QControlKitXamDemo
if(e.SelectedItem != null)
{
QWorkspace selectedWorkspace = e.SelectedItem as QWorkspace;
- Console.WriteLine($"[demo] Workspace <{selectedWorkspace.nameWithoutPathExtension}> has been selected");
+ Log.Debug($"[demo] Workspace <{selectedWorkspace.nameWithoutPathExtension}> has been selected");
if (selectedWorkspace.hasPasscode)
{
string passcode = await DisplayPromptAsync("Workspace has passcode", "Enter Passcode", maxLength: 4, keyboard: Keyboard.Numeric);