-
-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
Description
Migrated from rt.cpan.org #22901 (status was 'open')
Requestors:
Attachments:
From markstos@cpan.org on 2006-11-08 15:21:09:
( I may submit a patch for this later as tuits permit ).
In a large system it can be useful to have "debug" turned on for one
part, but not the whole thing.
Therefore, it's useful to be able set a global "min_level" through the
constructor, but override that later, at least temporarily.
A simple method like set_min_level($level) could do this.
It would be neat if there was an option for this declaration to go out
of scope and automatically revert to the previous value, but I don't see
that feature as required.
Mark
Reactions are currently unavailable