예제 #1
0
 public void Write(WriteContext context)
 {
     if (this.WriteEnabled != null && !this.WriteEnabled(context))
     {
         return;
     }
     this._writes.Enqueue(context);
 }
예제 #2
0
 public static bool EnableWithTypeName <T>(WriteContext context)
 {
     return(context.LoggerName.Equals(typeof(T).FullName));
 }