mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
63 lines
1.7 KiB
C#
63 lines
1.7 KiB
C#
using Patterns.Logging;
|
|
using System;
|
|
|
|
namespace MediaBrowser.Server.Implementations.Logging
|
|
{
|
|
public class PatternsLogger : ILogger
|
|
{
|
|
private readonly Model.Logging.ILogger _logger;
|
|
|
|
public PatternsLogger()
|
|
: this(new Model.Logging.NullLogger())
|
|
{
|
|
}
|
|
|
|
public PatternsLogger(Model.Logging.ILogger logger)
|
|
{
|
|
_logger = logger;
|
|
}
|
|
|
|
public void Debug(string message, params object[] paramList)
|
|
{
|
|
_logger.Debug(message, paramList);
|
|
}
|
|
|
|
public void Error(string message, params object[] paramList)
|
|
{
|
|
_logger.Error(message, paramList);
|
|
}
|
|
|
|
public void ErrorException(string message, Exception exception, params object[] paramList)
|
|
{
|
|
_logger.ErrorException(message, exception, paramList);
|
|
}
|
|
|
|
public void Fatal(string message, params object[] paramList)
|
|
{
|
|
_logger.Fatal(message, paramList);
|
|
}
|
|
|
|
public void FatalException(string message, Exception exception, params object[] paramList)
|
|
{
|
|
_logger.FatalException(message, exception, paramList);
|
|
}
|
|
|
|
public void Info(string message, params object[] paramList)
|
|
{
|
|
_logger.Info(message, paramList);
|
|
}
|
|
|
|
public void Warn(string message, params object[] paramList)
|
|
{
|
|
_logger.Warn(message, paramList);
|
|
}
|
|
|
|
public void Log(LogSeverity severity, string message, params object[] paramList)
|
|
{
|
|
}
|
|
|
|
public void LogMultiline(string message, LogSeverity severity, System.Text.StringBuilder additionalContent)
|
|
{
|
|
}
|
|
}
|
|
}
|