PriorityFilter.ShouldLog 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
PublicFunctionShouldLog ( _
priorityAs Integer _
) As Boolean
public bool ShouldLog(
int priority
)
public:
bool ShouldLog(
int priority
)
publicfunctionShouldLog(
priority : int
) : boolean
Parameters
- priority
Type: System.Int32
Priority to test.
Return Value
Returns true if the priority passes through the category filter.
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. |