C# Класс SipSharp.Logging.LogFilter

Default log filter implementation.
Наследование: ILogFilter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
ILogFilter ( LogLevel level, Type type ) : bool

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

Описание методов

AddNamespace() публичный Метод

Add a namespace filter.
public AddNamespace ( string ns, LogLevel level ) : void
ns string Namespace to add filter for.
level LogLevel Minimum loglevel required.
Результат void

AddStandardRules() публичный Метод

Parser can only display errors. Transports only warnings.
public AddStandardRules ( ) : void
Результат void

AddType() публичный Метод

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.
Результат void

AddType() публичный Метод

Add filter for a type
public AddType ( string typeStr, LogLevel level ) : void
typeStr string Type to add filter for.
level LogLevel Minimum loglevel required.
Результат void