mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace MediaBrowser.Common.Logging
|
|||
|
{
|
|||
|
public static class Logger
|
|||
|
{
|
|||
|
public static BaseLogger LoggerInstance { get; set; }
|
|||
|
|
|||
|
public static void LogInfo(string message, params object[] paramList)
|
|||
|
{
|
|||
|
LoggerInstance.LogInfo(message, paramList);
|
|||
|
}
|
|||
|
|
|||
|
public static void LogDebugInfo(string message, params object[] paramList)
|
|||
|
{
|
|||
|
LoggerInstance.LogDebugInfo(message, paramList);
|
|||
|
}
|
|||
|
|
|||
|
public static void LogError(string message, params object[] paramList)
|
|||
|
{
|
|||
|
LoggerInstance.LogError(message, paramList);
|
|||
|
}
|
|||
|
|
|||
|
public static void LogException(string message, Exception ex, params object[] paramList)
|
|||
|
{
|
|||
|
LoggerInstance.LogException(message, ex, paramList);
|
|||
|
}
|
|||
|
|
|||
|
public static void LogWarning(string message, params object[] paramList)
|
|||
|
{
|
|||
|
LoggerInstance.LogWarning(message, paramList);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|