You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/NzbDrone/Program.cs

30 lines
717 B

using System;
using NLog;
using Ninject;
namespace NzbDrone
{
internal static class Program
{
public static readonly StandardKernel Kernel = new StandardKernel();
private static readonly Logger Logger = LogManager.GetLogger("Main");
private static void Main()
{
try
{
Console.WriteLine("Starting Console.");
Kernel.Get<Application>().Start();
}
catch (Exception e)
{
Console.WriteLine(e.ToString());
Logger.Fatal(e.ToString());
}
Console.WriteLine("Press enter to exit.");
Console.ReadLine();
}
}
}