using System.Collections.Generic; using System; using Church.Net.Entity; using Church.Net.Entity.Interface; namespace WebAPI.Services.Interfaces { public interface ILoggingService { void Log(string message, object detail=null); void Warning(string message, object detail); int Error(Exception exception); int Error(Exception exception, string from); int Error(Exception exception, string from, string detailMsg); IEnumerable GetAllErrors(DateTime? rangeStart = null, DateTime? rangeEnd = null); IEnumerable GetAllLogs(LogLevel logLevel, DateTime? rangeStart = null, DateTime? rangeEnd = null); } }