Initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using LineMessaging;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WebAPI.Services.Interfaces
|
||||
{
|
||||
public interface IAutoReplyCommand
|
||||
{
|
||||
string Description { get; }
|
||||
IEnumerable<string> Commands { get; }
|
||||
IEnumerable<string> ReplyMessage { get; }
|
||||
IEnumerable<LineGroup> SupportGroups { get; }
|
||||
IEnumerable<ILineMessage> LineMessage { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
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);
|
||||
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<LogInfo> GetAllErrors(DateTime? rangeStart = null, DateTime? rangeEnd = null);
|
||||
IEnumerable<LogInfo> GetAllLogs(LogLevel logLevel, DateTime? rangeStart = null, DateTime? rangeEnd = null);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user