CK.Monitoring.GrandOutputHandlers.ChannelOption.SetMinimalFilter C# (CSharp) Method

SetMinimalFilter() public method

Enables any handler to publish the minimal filter level it requires (if any).
public SetMinimalFilter ( LogFilter filter ) : void
filter CK.Core.LogFilter Filter required by a .
return void
        public void SetMinimalFilter( LogFilter filter )
        {
            _currentFilter = _currentFilter.Combine( filter );
        }

Usage Example

Beispiel #1
0
 /// <summary>
 /// Enables this handler to interact with any channel to which it belongs.
 /// This is called after <see cref="Initialize"/> and for each channel where this handler appears, before the first call to <see cref="Handle"/>.
 /// Default implementation must be called: sets the minimal filter on the option if the <see cref="HandlerConfiguration"/> defines it.
 /// </summary>
 public virtual void CollectChannelOption(ChannelOption option)
 {
     option.SetMinimalFilter(_minimalFilter);
 }
All Usage Examples Of CK.Monitoring.GrandOutputHandlers.ChannelOption::SetMinimalFilter