PriorityFilter.Filter Method
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Tests a log entry to see if its priority is within the allowed limits.
Namespace: Microsoft.Practices.EnterpriseLibrary.Logging.Filters
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)
Syntax
'Declaration
PublicOverridesFunctionFilter ( _
logAs LogEntry _
) As Boolean
publicoverride bool Filter(
LogEntry log
)
public:
virtual bool Filter(
LogEntry^ log
) override
publicoverridefunctionFilter(
log : LogEntry
) : boolean
Parameters
- log
Type: Microsoft.Practices.EnterpriseLibrary.Logging.LogEntry
Log entry to test.
Return Value
Returns true if the log entry passes through the category filter.
Implements
See Also
Microsoft.Practices.EnterpriseLibrary.Logging.Filters Namespace
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |