diff --git a/src/Umbraco.Core/Logging/DebugDiagnosticsLogger.cs b/src/Umbraco.Core/Logging/DebugDiagnosticsLogger.cs
index 4bb7aeb464..e492cda0eb 100644
--- a/src/Umbraco.Core/Logging/DebugDiagnosticsLogger.cs
+++ b/src/Umbraco.Core/Logging/DebugDiagnosticsLogger.cs
@@ -14,6 +14,12 @@ namespace Umbraco.Core.Logging
System.Diagnostics.Debug.WriteLine(message + Environment.NewLine + exception, reporting.FullName);
}
+ ///
+ public void Error(Type reporting, string messageTemplate, Exception exception = null, params object[] args)
+ {
+ System.Diagnostics.Debug.WriteLine(string.Format(messageTemplate, args) + Environment.NewLine + exception, reporting.FullName);
+ }
+
///
public void Warn(Type reporting, string format)
{
@@ -32,12 +38,6 @@ namespace Umbraco.Core.Logging
System.Diagnostics.Debug.WriteLine(string.Format(format, args), reporting.FullName);
}
- ///
- public void Warn(Type reporting, string format, params Func