Removing last of log entries that do string concat or interpolation & updates to use MessageTemplate format instead

This commit is contained in:
Warren Buckley
2018-11-06 10:25:35 +00:00
parent d5294568ce
commit 1ef487b7da
14 changed files with 23 additions and 23 deletions

View File

@@ -59,7 +59,7 @@ namespace Umbraco.Web.Scheduling
{
var taskResult = await GetTaskByHttpAync(t.Url, token);
if (t.Log)
_logger.Info<ScheduledTasks>(string.Format("{0} has been called with response: {1}", t.Alias, taskResult));
_logger.Info<ScheduledTasks>("{TaskAlias} has been called with response: {TaskResult}", t.Alias, taskResult);
}
}
}