Remove all Console.WriteLine logging

This commit is contained in:
2021-02-13 14:00:09 -05:00
parent eb571e0187
commit 6daf53b910
5 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
<Authors>Joel Wetzell</Authors>
<Version>1.0.0-devel</Version>
<PackOnBuild>true</PackOnBuild>
<PackageVersion>0.0.16</PackageVersion>
<PackageVersion>0.0.17</PackageVersion>
<PackageId>QControlKit</PackageId>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Summary>Unofficial C# port of Figure53's QLabKit.objc</Summary>
+1 -1
View File
@@ -59,7 +59,7 @@ namespace SharpOSC
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Log.Error(e.Message);
return false;
}
+2 -1
View File
@@ -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));