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
Esempio n. 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);
 }
Esempio n. 2
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 );
 }