You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1020 B
35 lines
1020 B
using System;
|
|
|
|
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);
|
|
}
|
|
}
|
|
}
|