Fixed Exceptioneer.

This commit is contained in:
kay.one 2011-10-16 18:37:29 -07:00
parent 1ff34c8e38
commit 87cf08a365
2 changed files with 5 additions and 3 deletions

View File

@ -23,8 +23,8 @@ namespace NzbDrone.Core.Instrumentation
public static void StartDbLogging()
{
#if RELEASE
#if DEBUG
#else
var exTarget = new ExceptioneerTarget();
LogManager.Configuration.AddTarget("Exceptioneer", exTarget);
LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", NLog.LogLevel.Error, exTarget));

View File

@ -2,6 +2,7 @@
using System.Diagnostics;
using System.Runtime.Remoting;
using System.Timers;
using Exceptioneer.WindowsFormsClient;
using NLog;
using Ninject;
@ -106,7 +107,8 @@ namespace NzbDrone.Providers
Console.WriteLine("EPIC FAIL: {0}", excepion);
Logger.Fatal("EPIC FAIL: {0}", excepion);
#if RELEASE
#if DEBUG
#else
new Client
{
ApiKey = "43BBF60A-EB2A-4C1C-B09E-422ADF637265",