Exemple #1
0
 private void CommunicationLog(string Type, string Desc, long session)
 {
     _logProcessor.InsertLogs(
         new Logs
     {
         type        = Type,
         source      = "IRCTCCommunication",
         host        = HttpContext.Connection.RemoteIpAddress.ToString(),
         description = Desc,
         session     = Convert.ToString(session),
         logDate     = DateTime.Now
     }
         );
 }