1> what are the differences among these loggermanagers, which one should I use?
LogkitLoggerManager, LogKitLoggerManager, Log4JloggerManager
2> suppose I already have a Logger object, and I have a service which implemented Servicable,LogEnabled, then when I use a ServiceManager looking up the service, the ServiceMnager(or something else) set the right ServiceManager and a LoggerManager to the service? but how can this service get the logger object?
seems I should do like this
LoggerManager mylog=new AcertainLoggerManager(logger)/*I just took for granted there may be such a method or the like,but I failed to see such a "AcertainLoggerManager", what shall I do then?*/
serviceManager.setLoggerManager(mylog);
Service myservice=serviceManager.lookup(MyService.ROLE); myServiceLogger=this.loggerManager.getLogger();//(this=myservice)
That is just my humble idea, what is the right way then?
Thanks Mike
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
