Ejemplo n.º 1
0
 public DropFilter(DropFilterConfiguration configuration, ILogPipeFactory logPipeFactory)
 {
     conditionsMatcher = logPipeFactory.CreateConditionMatcher(configuration.Conditions);
 }
Ejemplo n.º 2
0
 public MatchFilter(MatchFilterConfiguration configuration, ILogPipeFactory factory)
 {
     actions           = factory.CreateActions(configuration.Actions).ToList();
     conditionsMatcher = factory.CreateConditionMatcher(configuration.Conditions);
 }
Ejemplo n.º 3
0
 public ExtractTimestampFilter(ExtractTimestampFilterConfiguration configuration, ILogPipeFactory logPipeFactory)
 {
     this.configuration = configuration;
     conditionsMatcher  = logPipeFactory.CreateConditionMatcher(configuration.Conditions);
     logger             = LogManager.GetCurrentClassLogger();
 }