From 25b248eb7ff987a60a58d968bbe26db6ff76843d Mon Sep 17 00:00:00 2001 From: LukePulverenti Luke Pulverenti luke pulverenti Date: Fri, 10 Aug 2012 23:06:45 -0400 Subject: [PATCH] Added an overload for LogException to not have to pass in a message --- MediaBrowser.Common/Logging/Logger.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MediaBrowser.Common/Logging/Logger.cs b/MediaBrowser.Common/Logging/Logger.cs index d1ae9b8f35..e66c1d8444 100644 --- a/MediaBrowser.Common/Logging/Logger.cs +++ b/MediaBrowser.Common/Logging/Logger.cs @@ -21,6 +21,11 @@ namespace MediaBrowser.Common.Logging LoggerInstance.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);