You can extend the log4net interface without modifying the log4net assembly. You need to write an extension assembly. There is an example of this which adds the TRACE level and methods. In the log4net download see extensions\net\1.0\log4net.Ext.Trace. You should follow this pattern to add your own levels.
Cheers, Nicko > -----Original Message----- > From: Gitit Amihud [mailto:[EMAIL PROTECTED] > Sent: 05 July 2005 07:54 > To: [email protected] > Subject: general question > > Hi > in order too use more levels than : > > FATAL,ERROR,WARN,INFO,DEBUG > > for example: ALERT,CRITICAL... I will need to add New > methods in ILog.cs: > > void Alert(object message); > > void Alert(object message, Exception t); > > and implement them in LogImpl.cs? > > > > ________________________________ > > Yahoo! Sports > Rekindle the Rivalries. Sign up for Fantasy Football > <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=33539/*http:/ > /football.fantasysports.yahoo.com?ovchn=YAH&ovcpn=Integration& > ovcrn=Mail+footer&ovrfd=YAH&ovtac=AD> >
