OperateLoger
Posted 吴晓阳
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了OperateLoger相关的知识,希望对你有一定的参考价值。
protected void Page_Load(object sender, EventArgs e) { OperateLoger.FunctionInfo =new FunctionInfo { PageCode= "PageCode",ModuleName= "模块名称",PowerCode= "PowerCode",PowerName = "功能名称",OperateLogEnabled=true };//PermissionManager.GetFunctionInfo(functionCode: "GetCustomerInfo", pagecode: this.PageCode, powerName: "获取用户余额", pageTitle: this.PageTitle, creatNewIfNotExists: false); OperateLoger.InputMessage = "这里是输入信息"; OperateLoger.OperationResult = OperationResult.Success; //这里是操作结果 OperateLoger.OutputMessage = "这里是输出信息"; OperateLoger.SaveLog(); Response.Write("OK"); }
以上是关于OperateLoger的主要内容,如果未能解决你的问题,请参考以下文章