mirror of
https://github.com/jwetzell/QControlKit.git
synced 2026-08-18 21:54:05 +00:00
Remove all Console.WriteLine logging
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
<Authors>Joel Wetzell</Authors>
|
<Authors>Joel Wetzell</Authors>
|
||||||
<Version>1.0.0-devel</Version>
|
<Version>1.0.0-devel</Version>
|
||||||
<PackOnBuild>true</PackOnBuild>
|
<PackOnBuild>true</PackOnBuild>
|
||||||
<PackageVersion>0.0.16</PackageVersion>
|
<PackageVersion>0.0.17</PackageVersion>
|
||||||
<PackageId>QControlKit</PackageId>
|
<PackageId>QControlKit</PackageId>
|
||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
<Summary>Unofficial C# port of Figure53's QLabKit.objc</Summary>
|
<Summary>Unofficial C# port of Figure53's QLabKit.objc</Summary>
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ namespace SharpOSC
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
Console.WriteLine(e.Message);
|
Log.Error(e.Message);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ using System.Linq;
|
|||||||
using System.Net.Sockets;
|
using System.Net.Sockets;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
using Serilog;
|
||||||
|
|
||||||
namespace SharpOSC
|
namespace SharpOSC
|
||||||
{
|
{
|
||||||
@@ -96,7 +97,7 @@ namespace SharpOSC
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
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
|
// 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));
|
//Log.Debug("Raw UDP In: " + System.Text.Encoding.ASCII.GetString(bytes));
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ namespace QControlKitXamDemo
|
|||||||
|
|
||||||
private async void ConnectedWorkspace_WorkspaceConnectionError(object source, QWorkspaceConnectionErrorArgs args)
|
private async void ConnectedWorkspace_WorkspaceConnectionError(object source, QWorkspaceConnectionErrorArgs args)
|
||||||
{
|
{
|
||||||
System.Console.WriteLine("WorkspaceConnectionError Called");
|
|
||||||
if (args.status.Equals("badpass"))
|
if (args.status.Equals("badpass"))
|
||||||
{
|
{
|
||||||
string passcode = await DisplayPromptAsync("Passcode was incorrect.", "Try Again", maxLength: 4, keyboard: Keyboard.Numeric);
|
string passcode = await DisplayPromptAsync("Passcode was incorrect.", "Try Again", maxLength: 4, keyboard: Keyboard.Numeric);
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using QControlKit.Events;
|
using QControlKit.Events;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Serilog;
|
||||||
|
|
||||||
namespace QControlKitXamDemo
|
namespace QControlKitXamDemo
|
||||||
{
|
{
|
||||||
@@ -113,7 +114,7 @@ namespace QControlKitXamDemo
|
|||||||
if(e.SelectedItem != null)
|
if(e.SelectedItem != null)
|
||||||
{
|
{
|
||||||
QWorkspace selectedWorkspace = e.SelectedItem as QWorkspace;
|
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)
|
if (selectedWorkspace.hasPasscode)
|
||||||
{
|
{
|
||||||
string passcode = await DisplayPromptAsync("Workspace has passcode", "Enter Passcode", maxLength: 4, keyboard: Keyboard.Numeric);
|
string passcode = await DisplayPromptAsync("Workspace has passcode", "Enter Passcode", maxLength: 4, keyboard: Keyboard.Numeric);
|
||||||
|
|||||||
Reference in New Issue
Block a user