aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Logging/Logger.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Common/Logging/Logger.cs')
-rw-r--r--MediaBrowser.Common/Logging/Logger.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Logging/Logger.cs b/MediaBrowser.Common/Logging/Logger.cs
index d1ae9b8f3..e66c1d844 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);