public override void EndAction(FWCommon.AOP.InvokeContext context) { if (!AppCons.LogSqlExcu) { return; } FWCommon.Logging.Logger.CurrentLog.Info(string.Format("耗时: {0} ms\r\n******", _watch.ElapsedMilliseconds)); }
public override void BeginAction(FWCommon.AOP.InvokeContext context) { _watch.Reset(); _watch.Start(); }