Esempio n. 1
0
        public override WebApi.Data.FullLogType Log(Location location, LogSurragateType logInfo)
        {
            var data = base.Log(location, logInfo);

            DbyeKaydet(data);
            return(data);
        }
Esempio n. 2
0
        public override FullLogType Log(LogSurragateType logInfo)
        {
            var data = base.Log(logInfo);

            DbyeKaydet(data);
            return(data);
        }
Esempio n. 3
0
        public virtual FullLogType Log(LogSurragateType logInfo)
        {
            var fullLogType = new FullLogType()
            {
                LogTuru = logInfo.LogTuru, LogKategori = logInfo.LogKategori, LogIcerik = logInfo.LogIcerik, TarihSaat = DateTime.Now
            };

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

            return(fullLogType);
        }
Esempio n. 5
0
        public override FullLogType Log(LogSurragateType logInfo)
        {
            var fullLogType = base.Log(logInfo);
            var logString   = $"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);
        }
Esempio n. 6
0
        public override WebApi.Data.FullLogType Log(Location location, LogSurragateType logInfo)
        {
            var fullLogType = base.Log(location, logInfo);
            var logString   = $"ClientIpAdresi:{fullLogType.ClientIpAdresi},FullUrl:{fullLogType.FullUrl},Controller:{fullLogType.Controller},Action:{fullLogType.Action},Parametre:{fullLogType.Parametre},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);
        }
Esempio n. 7
0
 public static Log.Data.FullLogType Log(LogSurragateType logInfo)
 {
     return(Logger.Log(logInfo));
 }
Esempio n. 8
0
 public static FullLogType Log(Location location, LogSurragateType logInfo)
 {
     return(Logger.Log(location, logInfo));
 }