Remove Debug<T> from LoggerExtensions

This commit is contained in:
Nikolaj
2020-09-16 10:24:05 +02:00
parent 488093add3
commit a18580c7f6
30 changed files with 90 additions and 109 deletions

View File

@@ -113,7 +113,7 @@ namespace Umbraco.Web.BackOffice.Controllers
if (userIsAdmin == false)
{
var errorMessage = "User is not a member of the administrators group and so is not allowed to toggle the URL tracker";
_logger.Debug<RedirectUrlManagementController>(errorMessage);
_logger.LogDebug(errorMessage);
throw new SecurityException(errorMessage);
}