public static void Put(LogPopType popup, LogType type, string msg, Exception e) { var l = new Log { dt = DateTime.Now, type = type, msg = msg, e = e, popup = popup }; logs.Enqueue(l); }
public static void Put(LogPopType popup, LogType type, string msg) { Put(popup, type, msg, null); }