Refactor logging and profiling, boot reporting

This commit is contained in:
Stephan
2016-09-11 19:57:33 +02:00
parent 091816a2ea
commit 5c2232aa3b
168 changed files with 1498 additions and 1281 deletions

View File

@@ -39,7 +39,7 @@ namespace Umbraco.Web.PublishedCache.XmlPublishedCache
}
catch (Exception ex)
{
LogHelper.Error<PreviewContent>($"Could not load preview set {_previewSet} for user {_userId}.", ex);
Current.Logger.Error<PreviewContent>($"Could not load preview set {_previewSet} for user {_userId}.", ex);
ClearPreviewSet();
@@ -145,7 +145,7 @@ namespace Umbraco.Web.PublishedCache.XmlPublishedCache
}
catch (Exception ex)
{
LogHelper.Error<PreviewContent>($"Couldn't delete preview set {file.Name} for user {userId}", ex);
Current.Logger.Error<PreviewContent>($"Couldn't delete preview set {file.Name} for user {userId}", ex);
}
}