mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
added loggly integration
This commit is contained in:
parent
0e7ca07e02
commit
3010ed6073
7 changed files with 211 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
|||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
using NLog;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.Instrumentation;
|
||||
|
||||
namespace NzbDrone
|
||||
{
|
||||
|
@ -14,6 +16,8 @@ namespace NzbDrone
|
|||
{
|
||||
try
|
||||
{
|
||||
new LogglyTarget(new EnvironmentProvider()).Register(LogLevel.Warn);
|
||||
|
||||
logger.Info("Starting NzbDrone Console. Version {0}", Assembly.GetExecutingAssembly().GetName().Version);
|
||||
|
||||
AppDomain.CurrentDomain.UnhandledException += ((s, e) => AppDomainException(e.ExceptionObject as Exception));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue