locked
Two flat file trace listeners. Write errors on one and debug statements on the other. RRS feed

  • Question

  • User1004736368 posted

    Hi.

    I have two flat file trace listeners.  I want to write errors on one and debug statements on the other.  Currently, I can only figure out how to write to only onefile.  How can I detrime and set what trace listener file I want to write to?


    Thanks


    Friday, August 7, 2009 9:41 AM

Answers

  • User1004736368 posted

    OK.  I found the solution;


    logEntry.Categories.Add("name under the category Sources folder");

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, August 10, 2009 10:01 AM