Exemple #1
0
 public void Append(Error.IError item)
 {
     this.cache.Append(item);
 }
Exemple #2
0
 public void Append(Error.Level level, string title, string message)
 {
     this.cache.Append(level, title, message);
 }
Exemple #3
0
 public void Append(Error.Level level, string title, System.Exception exception)
 {
     this.cache.Append(level, title, exception);
 }
Exemple #4
0
 public void Append(Error.Level level, string title, System.Exception exception)
 {
     this.Append(Error.Entry.Create(level, title, exception));
 }
Exemple #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);
         }
     }
 }
Exemple #6
0
 public void Append(Error.Level level, string title, string message)
 {
     this.Append(Error.Entry.Create(level, title, message));
 }