diff options
| author | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-10 23:06:45 -0400 |
|---|---|---|
| committer | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-10 23:06:45 -0400 |
| commit | 25b248eb7ff987a60a58d968bbe26db6ff76843d (patch) | |
| tree | 1bc59a343e39c9218a2adbd3ed32cea02d3f8772 /MediaBrowser.Common/Logging/Logger.cs | |
| parent | 6ab63eaf9505d942a6dbf81a905b7e527c3708c1 (diff) | |
Added an overload for LogException to not have to pass in a message
Diffstat (limited to 'MediaBrowser.Common/Logging/Logger.cs')
| -rw-r--r-- | MediaBrowser.Common/Logging/Logger.cs | 5 |
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);
|
