Need to work on Getting the Missions running, There is currently an issue with the UDP Client sending to a bad IP
This commit is contained in:
15
Tello Drone/ConsoleLogger.cs
Normal file
15
Tello Drone/ConsoleLogger.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace Tello_Drone
|
||||
{
|
||||
public class ConsoleLogger : IConsoleLogger
|
||||
{
|
||||
public event Action<string> LogReceived;
|
||||
|
||||
public void Log(string message)
|
||||
{
|
||||
LogReceived?.Invoke(message);
|
||||
Console.WriteLine(message);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user