Ejemplo n.º 1
0
 public void Append(Error.IError item)
 {
     this.cache.Append(item);
 }
Ejemplo n.º 2
0
 public void Append(Error.Level level, string title, string message)
 {
     this.cache.Append(level, title, message);
 }
Ejemplo n.º 3
0
 public void Append(Error.Level level, string title, System.Exception exception)
 {
     this.cache.Append(level, title, exception);
 }
Ejemplo n.º 4
0
 public void Append(Error.Level level, string title, System.Exception exception)
 {
     this.Append(Error.Entry.Create(level, title, exception));
 }
Ejemplo n.º 5
0
 public void Append(Error.IError entry)
 {
     lock (this.Lock)
     {
         if (entry.Level >= this.AllThreshold)
             this.log.Enqueue(this.cache);
         else
         {
             if (this.cacheList.Count >= this.CacheSize)
                 this.ReduceCache();
             this.cache.Enqueue(entry);
         }
     }
 }
Ejemplo n.º 6
0
 public void Append(Error.Level level, string title, string message)
 {
     this.Append(Error.Entry.Create(level, title, message));
 }