At 7:17 PM +0100 11/1/04, Jerome Quelin wrote:
On 04/11/01 11:17 -0500, Sam Ruby wrote:
But either at startup or dynamically, individual loggers can be
enabled to start (or stop) outputing messages that exceed a given
threshhold (debug, info, warn, error, fatal).

One thing that I really miss in this kind of logging framework is to switch *at any time* (ie, not only when creating the logging stuff) the threshold.

This allows for example to run all your code with fatal threshold and
then, when running into sub-that-is-supposed-to-be-all-bugged, you just
activate debug level, and return to fatal after leaving it. This way you
only get the traces you wanted - instead of getting lost in your debug
traces.

Sounds like a job for pre and post handlers for subs and methods.... -- Dan

--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to