Logging in a C# library

Posted by koumides on Stack Overflow See other posts from Stack Overflow or by koumides
Published on 2010-05-04T10:10:41Z Indexed on 2010/05/04 10:18 UTC
Read the original article Hit count: 201

Filed under:
|
|

All,

I wonder what is the best practise regarding logging inside a library. I am creating a C# library to be used by users and at some points I want to log an error or a warning. Is it a good practice to use log4net and log in a file?

Thanks,

M

© Stack Overflow or respective owner

Related posts about c#

Related posts about logging