SimpleLog/SimpleLog/ILogger.cs

16 lines
377 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SimpleLog {
public interface ILogger : IMessageFormatter {
bool Log(object message, LogLevel level);
void RegisterLogHandler(ILogHandler handler);
bool UnregisterLogHandler(ILogHandler handler);
int UnregisterLogHandlerType(string assemblyName);
}
}