Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Urlybird 1.1.1 logging

 
Alenkhe David
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
satishkumar janakiraman
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi David,

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


sat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic