Custom Priority Filter or Multiple Priorities

Topics: Logging Application Block
Mar 31, 2009 at 7:39 AM
I am using Ent Lib 2.0, I was wondering in the configuration of the config file can we use more than two priorities.
As I am trying to use two priorities and nothing gets logged in the database. If I use one priority then it works fine. How can I have multiple priorities defined ?
The method i am using to write is Microsoft.Practices.EnterpriseLibrary.Logging.Logger.Write(object message,string category,int priority)

Mar 31, 2009 at 8:22 AM

The way that I understand the "Priority Filter", it is a global switch , which only requires one instance that will have a effect to all logs. To my understanding, I may say that it is not possible to have multiple priority filter that will work. 

Valiant Dudan
Global Technology and Solutions
Avanade, Inc.