The Free Software Media System - Server Backend & API
Added an overload for LogException to not have to pass in a message
LukePulverenti Luke Pulverenti luke pulverenti25b248eb7ff9
diff --git a/MediaBrowser.Common/Logging/Logger.cs b/MediaBrowser.Common/Logging/Logger.csindex d1ae9b8f35..e66c1d8444 100644--- a/MediaBrowser.Common/Logging/Logger.cs+++ b/MediaBrowser.Common/Logging/Logger.cs@@ -21,6 +21,11 @@ namespace MediaBrowser.Common.LoggingLoggerInstance.LogError(message, paramList);}+ public static void LogException(Exception ex, params object[] paramList)+ {+ LogException(string.Empty, ex, paramList);+ }+public static void LogException(string message, Exception ex, params object[] paramList){LoggerInstance.LogException(message, ex, paramList);