Change log4net conversion pattern or layout at runtime

Posted by adam0101 on Stack Overflow See other posts from Stack Overflow or by adam0101
Published on 2010-06-10T15:57:02Z Indexed on 2010/06/13 10:32 UTC
Read the original article Hit count: 228

Filed under:
|

I'm using the LogInfo() method to log to a rolling flat file, but I need to change the conversion pattern or pattern layout (whatever you want to call it) temporarily when calling it in a certain circumstance. Is this possible?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about log4net