C# Class SipSharp.Logging.LogFilter

Default log filter implementation.
Inheritance: ILogFilter
Afficher le fichier Open project: jgauffin/SipSharp Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
ILogFilter ( LogLevel level, Type type ) : bool

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

Method Details

AddNamespace() public méthode

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

AddStandardRules() public méthode

Parser can only display errors. Transports only warnings.
public AddStandardRules ( ) : void
Résultat void

AddType() public méthode

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.
Résultat void

AddType() public méthode

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