Ejemplo n.º 1
0
 public LogBackend()
 {
     this.cachecount = Settings.Default.CacheCount;
     logs            = new LogQueue(this.cachecount);
     this.backend    = Settings.Default.Backend;
     this.running    = true;
     this.sendThread = new Thread(this.Send);
     this.sendThread.IsBackground = true;
     this.sendThread.Start();
 }
Ejemplo n.º 2
0
 public LogPlugin()
 {
     this.cachecount              = Settings.Default.CacheCount;
     logs                         = new LogQueue(this.cachecount);
     this.backend                 = Settings.Default.Backend;
     this.running                 = true;
     this.sendConfiguration       = true;
     this.sendThread              = new Thread(this.Send);
     this.sendThread.IsBackground = true;
     Sender.SetFrom(Settings.Default.Name);
     this.sendThread.Start();
 }