Beispiel #1
0
        public override WebApi.Data.FullLogType Log(Location location, LogUserInfoSurragateType logInfo)
        {
            var data = base.Log(location, logInfo);

            DbyeKaydet(data);
            return(data);
        }
Beispiel #2
0
        public override FullLogType Log(LogUserInfoSurragateType logInfo)
        {
            var data = base.Log(logInfo);

            DbyeKaydet(data);
            return(data);
        }
Beispiel #3
0
        public virtual FullLogType Log(LogUserInfoSurragateType logInfo)
        {
            var fullLogType = new FullLogType()
            {
                UserKey = logInfo.UserKey, LogTuru = logInfo.LogTuru, LogKategori = logInfo.LogKategori, LogIcerik = logInfo.LogIcerik, TarihSaat = DateTime.Now
            };

            return(fullLogType);
        }
Beispiel #4
0
        public virtual FullLogType Log(Location location, LogUserInfoSurragateType logInfo)
        {
            var fullLogType = new FullLogType()
            {
                ClientIpAdresi = location.ClientIpAdresi, FullUrl = location.FullUrl, Controller = location.Controller, Action = location.Action, Parametre = location.Parametre, UserKey = logInfo.UserKey, LogTuru = logInfo.LogTuru, LogKategori = logInfo.LogKategori, LogIcerik = logInfo.LogIcerik, TarihSaat = DateTime.Now
            };

            return(fullLogType);
        }
Beispiel #5
0
        public override WebApi.Data.FullLogType Log(Location location, LogUserInfoSurragateType logInfo)
        {
            var fullLogType = base.Log(location, logInfo);
            var logString   = $"ClientIpAdresi:{fullLogType.ClientIpAdresi},FullUrl:{fullLogType.FullUrl},Controller:{fullLogType.Controller},Action:{fullLogType.Action},Parametre:{fullLogType.Parametre},UserKey:{fullLogType.UserKey},LogTuru:{fullLogType.LogTuru},LogKategorisi:{fullLogType.LogKategori},TarihSaat:{fullLogType.TarihSaat},LogIcerik:{fullLogType.LogIcerik}";

            System.Diagnostics.Debug.WriteLine("----------------------------------LOG START--------------------------------------");
            System.Diagnostics.Debug.WriteLine(logString);
            System.Diagnostics.Debug.WriteLine("----------------------------------LOG END----------------------------------------");
            return(fullLogType);
        }
Beispiel #6
0
        public override FullLogType Log(LogUserInfoSurragateType logInfo)
        {
            var fullLogType = base.Log(logInfo);
            var logString   = $"UserKey:{fullLogType.UserKey},LogTuru:{fullLogType.LogTuru},LogKategorisi:{fullLogType.LogKategori},TarihSaat:{fullLogType.TarihSaat},LogIcerik:{fullLogType.LogIcerik}";

            System.Diagnostics.Debug.WriteLine("----------------------------------LOG START--------------------------------------");
            System.Diagnostics.Debug.WriteLine(logString);
            System.Diagnostics.Debug.WriteLine("----------------------------------LOG END----------------------------------------");
            return(fullLogType);
        }
Beispiel #7
0
 public static Log.Data.FullLogType Log(LogUserInfoSurragateType logInfo)
 {
     return(Logger.Log(logInfo));
 }
Beispiel #8
0
 public static FullLogType Log(Location location, LogUserInfoSurragateType logInfo)
 {
     return(Logger.Log(location, logInfo));
 }