Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #172 from EtchUK/bug/#171
Browse files Browse the repository at this point in the history
Just use Umbraco core logging, fixes #171
  • Loading branch information
Daniel committed Sep 27, 2017
2 parents 2301b4d + ef0bd16 commit ca2242a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 66 deletions.
4 changes: 0 additions & 4 deletions Helpers/LoggingHelper.cs
Expand Up @@ -15,9 +15,7 @@ public static class LoggingHelper
{
public static void LogException(this Exception ex)
{
LogManager.GetLogger(typeof(LoggingHelper)).Error(ex.Message, ex);
LogHelper.Error(typeof(LoggingHelper), ex.Message, ex);
UrlTrackerLogging.Log(ex);
}

public static void LogInformation(string message, params object[] args)
Expand All @@ -29,9 +27,7 @@ public static void LogInformation(string message)
{
if (UrlTrackerSettings.EnableLogging)
{
LogManager.GetLogger(typeof(LoggingHelper)).Debug(message);
LogHelper.Debug(typeof(LoggingHelper), () => { return message; });
UrlTrackerLogging.Log(message);
}
}
}
Expand Down
1 change: 0 additions & 1 deletion UrlTracker.csproj
Expand Up @@ -237,7 +237,6 @@
<Compile Include="UI\UserControls\IUrlTrackerView.cs" />
<Compile Include="Helpers\UmbracoHelper.cs" />
<Compile Include="Helpers\LoggingHelper.cs" />
<Compile Include="UrlTrackerErrorLogging.cs" />
<Compile Include="Extensions\INodeExtensions.cs" />
<Compile Include="Extensions\NameValueCollectionExtension.cs" />
<Compile Include="Models\UrlTrackerModel.cs" />
Expand Down
61 changes: 0 additions & 61 deletions UrlTrackerErrorLogging.cs

This file was deleted.

0 comments on commit ca2242a

Please sign in to comment.