jQuery in Action, 3rd edition
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Urlybird 1.1.1 logging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Urlybird 1.1.1 logging" Watch "Urlybird 1.1.1 logging" New topic
Author

Urlybird 1.1.1 logging

Alenkhe David
Greenhorn

Joined: Jul 31, 2008
Posts: 20
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.

Any thoughts?

Thanks.


Jesus Regins..
satishkumar janakiraman
Ranch Hand

Joined: May 03, 2004
Posts: 334
Hi David,

Singleton is a best choice for cache, logger etc. Multiple instances of cache/logger will create complexity in the application.


sat
 
jQuery in Action, 3rd edition
 
subject: Urlybird 1.1.1 logging
 
It's not a secret anymore!