diff --git a/src/NzbDrone.Common/Instrumentation/LogTargets.cs b/src/NzbDrone.Common/Instrumentation/LogTargets.cs index 6f35a8a95..ec21d2b5c 100644 --- a/src/NzbDrone.Common/Instrumentation/LogTargets.cs +++ b/src/NzbDrone.Common/Instrumentation/LogTargets.cs @@ -1,4 +1,5 @@ using System; +using System.Diagnostics; using System.IO; using NLog; using NLog.Config; @@ -15,7 +16,7 @@ namespace NzbDrone.Common.Instrumentation LogManager.Configuration = new LoggingConfiguration(); - if (System.Diagnostics.Debugger.IsAttached) + if (Debugger.IsAttached) { RegisterDebugger(); }