mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Added an overload for LogException to not have to pass in a message
This commit is contained in:
parent
6ab63eaf95
commit
25b248eb7f
@ -21,6 +21,11 @@ namespace MediaBrowser.Common.Logging
|
|||||||
LoggerInstance.LogError(message, paramList);
|
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)
|
public static void LogException(string message, Exception ex, params object[] paramList)
|
||||||
{
|
{
|
||||||
LoggerInstance.LogException(message, ex, paramList);
|
LoggerInstance.LogException(message, ex, paramList);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user