jellyfin-server/MediaBrowser.Common/Logging/BaseLogger.cs

17 lines
399 B
C#
Raw Normal View History

using MediaBrowser.Common.Kernel;
using System;
2012-07-12 06:55:27 +00:00
namespace MediaBrowser.Common.Logging
2012-07-12 06:55:27 +00:00
{
public abstract class BaseLogger : IDisposable
2012-07-12 06:55:27 +00:00
{
public abstract void Initialize(IKernel kernel);
public abstract void LogEntry(LogRow row);
2012-09-10 19:11:40 +00:00
public virtual void Dispose()
{
Logger.LogInfo("Disposing " + GetType().Name);
}
2012-07-12 06:55:27 +00:00
}
}