From: Mike S. <m...@pe...> - 2005-09-20 05:37:07
|
On Tue, 23 Aug 2005, Thalhammer, Jeffrey BGI SF wrote: > My team is eager to adopt log4perl, but we don't agree on how to > integrate it with our system. In your experience, how do most people > it? Do they create wrappers, make subclasses, or just use native > log4perl interface? What criteria do they use for making that > decision? Thanks. Hi Jeffrey, sorry for the long wait. I've seen several approaches to people using Log::Log4perl. I've seen people using wrapper classes when they felt they needed to be independent of a specific logging module, but most of the time it's just used right out of the box. I personally use L4p's :easy mode almost exclusively now in all projects, small or large. It has no performance overhead and I find it much easier to type. And having a concise syntax without redundancies goes a long way towards avoiding bugs and making your code easier to read for you, your team, and the guy maintaining the code six months down the road (maybe you again). -- Mike Mike Schilli m...@pe... |