Exemplo n.º 1
0
 public void Flush()
 {
     foreach (AppSection a in Enum.GetValues(typeof(AppSection)))
     {
         LognLM l = (LognLM)reps[a];
         if (l != null)
         {
             l.TS.Flush();
         }
     }
 }
Exemplo n.º 2
0
        public LMLoggers(NCCConfig.Config cfg)
        {
            this.cfg = cfg;
            reps = new Hashtable((int)AppSection.Rarrr);
            int pid = Process.GetCurrentProcess().Id;

            foreach (AppSection wp in Enum.GetValues(typeof(AppSection)))
            {
                LognLM l = new LognLM(wp.ToString(), cfg, pid);
                reps.Add(wp, l);
             }
        }
Exemplo n.º 3
0
        public LMLoggers(NCCConfig.Config cfg)
        {
            this.cfg = cfg;
            reps     = new Hashtable((int)AppSection.Rarrr);
            int pid = Process.GetCurrentProcess().Id;

            foreach (AppSection wp in Enum.GetValues(typeof(AppSection)))
            {
                LognLM l = new LognLM(wp.ToString(), cfg, pid);
                reps.Add(wp, l);
            }
        }