Ejemplo n.º 1
0
        public static void Log(Types type, Idaho.Web.Profile profile, Entity e, string note)
        {
            Activity a = new Activity();

            a.Type   = type;
            a.Entity = e;
            a.Note   = note;
            if (profile != null)
            {
                a.User = profile.User;
            }
            a.IpAddress = IpAddress.Client ?? IpAddress.Host;
            a.QueueSave();
        }
Ejemplo n.º 2
0
 public static void Log(Types type, Idaho.Web.Profile profile, string note)
 {
     Log(type, profile, null, note);
 }
Ejemplo n.º 3
0
 public static void Log(Types type, Idaho.Web.Profile profile)
 {
     Log(type, profile, null, string.Empty);
 }