Exemplo n.º 1
0
 public void Write(WriteContext context)
 {
     if (WriteEnabled == null || WriteEnabled(context))
     {
         Writes.Add(context);
     }
 }
Exemplo n.º 2
0
 public static bool EnableWithTypeName <T>(WriteContext context)
 {
     return(context.LoggerName.Equals(typeof(T).FullName));
 }