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