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