logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Joye <jose.j...@bluewin.ch>
Subject What is the best way to attach an ID with each logged message?
Date Sat, 20 Jan 2007 09:42:17 GMT
Hello,

I'm looking for a possibility of attaching an ID to each information logged 
using Log4Net. What will be the best way to use in order to be compatible 
with with existing viewers (chainsaw, ...).

Basically, I want to expose such an overloaded method in my Logger façade:

void Info(int id, string msg);

and I would like to have this information displayed/available in existing 
viewer and appenders.


Thanks,

- José 


Mime
View raw message