C# Class SipSharp.Logging.LogFilter

Default log filter implementation.
Inheritance: ILogFilter
Datei anzeigen Open project: jgauffin/SipSharp Class Usage Examples

Public Methods

Method Description
AddNamespace ( string ns, LogLevel level ) : void

Add a namespace filter.

AddStandardRules ( ) : void

Parser can only display errors. Transports only warnings.

AddType ( Type type, LogLevel level ) : void

Add filter for a type

AddType ( string typeStr, LogLevel level ) : void

Add filter for a type

Private Methods

Method Description
ILogFilter ( LogLevel level, Type type ) : bool

Checks if the specified type can send log entries at the specified level.

Method Details

AddNamespace() public method

Add a namespace filter.
public AddNamespace ( string ns, LogLevel level ) : void
ns string Namespace to add filter for.
level LogLevel Minimum loglevel required.
return void

AddStandardRules() public method

Parser can only display errors. Transports only warnings.
public AddStandardRules ( ) : void
return void

AddType() public method

Add filter for a type
public AddType ( Type type, LogLevel level ) : void
type System.Type Type to add filter for.
level LogLevel Minimum loglevel required.
return void

AddType() public method

Add filter for a type
public AddType ( string typeStr, LogLevel level ) : void
typeStr string Type to add filter for.
level LogLevel Minimum loglevel required.
return void