How to create custom Event Log using EIF ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tim Reynolds

    #1

    How to create custom Event Log using EIF ?

    I am using EIF to write event log entries to my
    application. By first creating my Event Source and then
    raising my event via the Event Source, I do see my entries
    in the Application Event Log. I want to create a custom
    Event log and have my log messages go there instead of to
    the Application Log. If not using EIF, I know I could do
    it using

    System.Diagnost ics.EventLog.Cr eateEventSource
    ("Source1", "CustomLog" );

    However, since I am using EIF and only raising events via
    the EventSource and leaving it up to EIF to write to the
    log, I cannot find how to write to other than Application.

    Any help appreciated.

    THanks,
    Tim
Working...