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