A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Developer Certification (SCJD/OCMJD)
Urlybird 1.1.1 logging
Joined: Jul 31, 2008
Aug 15, 2008 18:35:00
I am planing on a singleton logger class, that other classes can call to get an instance for logging purposes. Also would want to dump log records to file.
Joined: May 03, 2004
Aug 15, 2008 23:14:00
Singleton is a best choice for cache, logger etc. Multiple instances of cache/logger will create complexity in the application.
I agree. Here's the link:
subject: Urlybird 1.1.1 logging
where to get info about commons logging, log4j and java.util.logging....
log4j apache common logging
Class Instance being overwritten by new Instance
Sub Level Logging
gonna see a man about a horse
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014