Associating an ILog to one appender when two are in app.config

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nissim
    New Member
    • Mar 2012
    • 1

    Associating an ILog to one appender when two are in app.config

    I have two appenders in my app.config for a .net C# application. One is for a database log and the other for a rolling file appender. I need to use these two appenders but with a different message parameter to each one. I therefore cannot just use one log.info call but I need to instantiate two ILog objects, each one connected to a different appender from my app.config. Is this possible?

    Thanks for any help you can offer.
Working...