Beispiel #1
0
 public virtual void Log(string content, LogType logType = LogType.Info)
 {
     _sysLogService.Insert(new SysLog
     {
         LogContent = content,
         LogType    = (int)logType,
         LogIp      = Request.GetUserIP(),
         LogUrl     = Request.RawUrl
     });
 }