How to add a listener in NLog using Code

Posted by Sheraz Khan on Stack Overflow See other posts from Stack Overflow or by Sheraz Khan
Published on 2010-05-17T19:00:59Z Indexed on 2010/06/14 2:22 UTC
Read the original article Hit count: 736

Filed under:

Consider NLog is already configured and logging messages to a file, I want to add a listener that will be called each time a message is logged. I read the documentation on NLog but what it says in document doesn't work. Does anyone know how to add a listener using Code in NLog. Thanks

© Stack Overflow or respective owner

Related posts about nlog