From: <msc...@ao...> - 2002-09-24 04:45:59
|
In a message dated Mon, 23 Sep 2002 11:05:31 PM Eastern Standard Time, mrd...@ya... writes: >A quick glance at the code, and me think one could cache >the logger objects without trouble (unless they are much >bigger than I think). So get_logger would become: Well, this is already done of course by the current implementation -- Log4perl uses a singleton mechanism. The overhead arises because of multiple get_logger() calls (which are admittedly quite cheap, but it adds up). -- -- Mike ############################ # Mike Schilli # # log...@pe... # # http://perlmeister.com # # log4perl.sourceforge.net # ############################ |