NLog Logging Library

FilterFactory Members

FilterFactory overview

Public Static (Shared) Properties

FilterTypes Collection of filter types added to the factory.

Public Static (Shared) Methods

AddFilter Registers the specified filter type to the factory under a specified name.
AddFiltersFromAssembly Scans the specified assembly for types marked with FilterAttribute and adds them to the factory. Optionally it prepends the specified text to filter names to avoid naming collisions.
Clear Removes all filter information from the factory.
CreateFilter Creates the filter object based on its filter name.

See Also

FilterFactory Class | NLog Namespace