コード例 #1
0
 public void Begin(BeginScopeContext context)
 {
     if (this.BeginEnabled != null && !this.BeginEnabled(context))
     {
         return;
     }
     this._scopes.Enqueue(context);
 }
コード例 #2
0
 public static bool EnableWithTypeName <T>(BeginScopeContext context)
 {
     return(context.LoggerName.Equals(typeof(T).FullName));
 }