added exceptron log target.

This commit is contained in:
kay.one 2013-06-05 21:33:16 -07:00
parent e37f413e19
commit 5ea794939c
26 changed files with 3113 additions and 0 deletions

View file

@ -3,6 +3,7 @@ using System.IO;
using NLog;
using NzbDrone.Common;
using NzbDrone.Common.Composition;
using NzbDrone.Common.Instrumentation;
using NzbDrone.Update.UpdateEngine;
namespace NzbDrone.Update
@ -26,6 +27,9 @@ namespace NzbDrone.Update
try
{
Console.WriteLine("Starting NzbDrone Update Client");
new LogglyTarget(new EnvironmentProvider()).Register(LogLevel.Debug);
ExceptronTarget.Register();
_container = UpdateContainerBuilder.Build();