예제 #1
0
파일: Module.cs 프로젝트: imintsystems/Kean
 public void Append(Error.IError item)
 {
     this.cache.Append(item);
 }
예제 #2
0
파일: Module.cs 프로젝트: imintsystems/Kean
 public void Append(Error.Level level, string title, string message)
 {
     this.cache.Append(level, title, message);
 }
예제 #3
0
파일: Module.cs 프로젝트: imintsystems/Kean
 public void Append(Error.Level level, string title, System.Exception exception)
 {
     this.cache.Append(level, title, exception);
 }
예제 #4
0
파일: Cache.cs 프로젝트: imintsystems/Kean
 public void Append(Error.Level level, string title, System.Exception exception)
 {
     this.Append(Error.Entry.Create(level, title, exception));
 }
예제 #5
0
파일: Cache.cs 프로젝트: imintsystems/Kean
 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);
         }
     }
 }
예제 #6
0
파일: Cache.cs 프로젝트: imintsystems/Kean
 public void Append(Error.Level level, string title, string message)
 {
     this.Append(Error.Entry.Create(level, title, message));
 }