using LeaRun.Application.Entity.SystemManage;
using LeaRun.Util.WebControl;
using System.Collections.Generic;
namespace LeaRun.Application.IService.SystemManage
{
///
/// 版 本 6.1
/// Copyright (c) 2013-2016 上海力软信息技术有限公司
/// 创建人:佘赐雄
/// 日 期:2016.1.8 9:56
/// 描 述:系统日志
///
public interface ILogService
{
#region 获取数据
///
/// 日志列表
///
/// 分页
/// 查询参数
///
IEnumerable GetPageList(Pagination pagination, string queryJson);
///
/// 日志实体
///
/// 主键值
///
LogEntity GetEntity(string keyValue);
#endregion
#region 提交数据
///
/// 清空日志
///
/// 日志分类Id
/// 保留时间段内
void RemoveLog(int categoryId, string keepTime);
///
/// 写日志
///
/// 对象
void WriteLog(LogEntity logEntity);
#endregion
}
}