public void Begin(BeginScopeContext context) { if (BeginEnabled == null || BeginEnabled(context)) { Scopes.Add(context); } }
public static bool EnableWithTypeName <T>(BeginScopeContext context) { return(context.LoggerName.Equals(typeof(T).FullName)); }