How to call EntLib 5.0 listenerDataType dynamically for Exception Handling in MVC

Apr 4, 2012 at 7:07 AM


I am using EntLib 5.0 for logging and want to call listener for one category dynamically  for particular users...

Like we have two listeners in Web.config for one category(general),

now user wants to use first listener(database)  for critical log and second listener(flat file) for normal log...

How do i call listerner datatype dynamically in mvc.