#region using System; #endregion namespace CSFrameworkV5.Common { /// /// 系统操作日志通用接口 /// public interface ILogUserOperate { /// /// 清除所有日志 /// void ClearAll(); /// /// 清除日志 /// /// 起始时间 /// 结束时间 void ClearLog(DateTime beginDate, DateTime endDate); /// /// 清除日志 /// /// 用户 /// 起始时间 /// 结束时间 void ClearLog(string user, DateTime beginDate, DateTime endDate); /// /// 写入日志 /// /// 日志内容 void WriteLog(string content); /// /// 写入日志 /// /// 日志类型 /// 日志内容 void WriteLog(LogTypeSystem type, string content); /// /// 写入打开窗体的日志 /// /// /// /// /// void WriteLog(LogTypeSystem type, string content, string formName, string formCaption, string menuName); } }