Last post Apr 30, 2007 02:43 AM by neluru
Apr 27, 2007 11:11 AM|neluru|LINK
How can I write a category column value in the event viewer using enterprise library.
ex: In Application:
Type Date Time Source Category Event User Computer
Information 4/27/2007 8:36:25 PM Enterprise Library userspecified name 17896 N/A Kiranv
In Category column I have to specify user specified name using enterprise library
can you send me the sample code, so that I can solve my problem
Event Logging using Enterprise Library
Apr 27, 2007 12:37 PM|TATWORTH|LINK
Do you specifically need to use the enterprise library or do you want to write your own code? If the latter look at my example posted onto thread http://forums.asp.net/thread/1631102.aspx. The Write Event method is easily extended to include a category.
Apr 30, 2007 02:43 AM|neluru|LINK
Thanks for the reply, But I specifically need to use the enterprise library, Is there any piece of code so that I can change the event to user specific using Enterprise Library.