public IFilteringRule GetCompiledRule(ILogEnvironment environment) { if (_compiledRule == null) { _compiledRule = ComplieRule(); _compiledRule.SetEnvironment(environment); } return(_compiledRule); }
public IFormattingRule GetCompiledRule(ILogEnvironment environment) { if (_compiledRule == null) { try { _compiledRule = ComplieRule(); _compiledRule.SetEnvironment(environment); } catch { _compiledRule = DummyRule.Instance; } } return(_compiledRule); }
public void SetEnvironment(ILogEnvironment environment) { }