|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Enterprise Library, The logging application blockHi,
I asked this question in the C# group, but I didn't get any response so i will try here. This is maybe where it belongs. Is it possible to configure the enterprise library logging block to log to different destinations based on priority. I can see it is possible to do this based on category, but would it not be logical to do this on priority also. If I have a category named "NORMAL" I maybe want messages of this category with low priority to log to a file, but if it has high priority I want it to send a mail. Is the Logger.write(...) method thread-safe?? If it is not, do you know if it is easy to make it tread-safe? |
|||||||||||||||||||||||