Files
Ragon/Ragon.Relay/Program.cs
T
2022-12-20 12:20:52 -08:00

28 lines
644 B
C#
Executable File

using System;
using System.Runtime.InteropServices;
using NLog;
using Ragon.Core;
namespace Ragon.Relay
{
class Program
{
static void Main(string[] args)
{
var logger = LogManager.GetLogger("Ragon.Relay");
logger.Info("Relay Application");
var configuration = Configuration.Load("relay.config.json");
var relay = new Application(configuration);
logger.Info("Started");
relay.Start();
Console.ReadKey();
relay.Stop();
logger.Info("Stopped");
}
}
}