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