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();
 }
示例#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();
 }