How are they going to configure your logger? Are you going to provide your own methods? Why not allow them to create a logging.config file that your wrapper uses to configure log4net. The users can still configure a logging system but if you change logging frameworks then the configuration file will change but the means to configure your wrapper is still the same. This prevents you from having to come up with your own configuration scheme.
> -----Original Message----- > From: Matthew Griffore [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 10, 2004 8:09 AM > To: 'Log4NET User' > Subject: config-free log4net? > > Is there a way to "componentize" log4net? What I mean is there a way to > package a standard/fixed set of appenders inside of a component so the > developers need not add anything to their config files and simply make > calls to my static wrapper methods. I am trying to abstract and blackbox > log4net for developer's applications. > > I have heard similar questions beiing asked but have not seen any > clear-cut answers. Thanks. > > Matthew Griffore | Application Integration | Union Gas > Union Gas ~ 800.571.8446:2682 ~ [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>
