Rename Error to align it with MS ILogger

This commit is contained in:
Nikolaj
2020-09-14 09:10:53 +02:00
parent fc054e6546
commit d7e3bce741
95 changed files with 187 additions and 187 deletions

View File

@@ -65,7 +65,7 @@ namespace Umbraco.Web.Common.Middleware
catch (Exception ex)
{
// try catch so we don't kill everything in all requests
_logger.Error<UmbracoRequestMiddleware>(ex);
_logger.LogError<UmbracoRequestMiddleware>(ex);
}
finally
{
@@ -128,7 +128,7 @@ namespace Umbraco.Web.Common.Middleware
}
catch (Exception ex)
{
logger.Error<UmbracoRequestMiddleware>("Could not dispose item with key " + k, ex);
logger.LogError<UmbracoRequestMiddleware>("Could not dispose item with key " + k, ex);
}
try
{
@@ -136,7 +136,7 @@ namespace Umbraco.Web.Common.Middleware
}
catch (Exception ex)
{
logger.Error<UmbracoRequestMiddleware>("Could not dispose item key " + k, ex);
logger.LogError<UmbracoRequestMiddleware>("Could not dispose item key " + k, ex);
}
}
}