-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add set_min_level() method #28
Comments
From [email protected] on 2006-11-14 22:48:42: On Wed Nov 08 10:21:09 2006, MARKSTOS wrote:
A patch is attached for this, which includes code, test and doc updates. Mark |
From [email protected] on 2006-11-15 19:31:12: Hmm, while I successfully added a "min_level()" method to the Mark |
From [email protected] (@karenetheridge) on 2012-05-14 20:29:32: min_level now exists; this ticket should be closed. |
From [email protected] (@autarch) on 2012-07-26 14:25:03: On Mon May 14 16:29:32 2012, ETHER wrote:
The request was for a setter. All that exists now is a getter. |
Hello, I was the original bug reporter 10 years ago. I got a new job that doesn't use much Perl and don't use this module so feel free to close this feature request since no else added a "me too" comment in the last 10 years. |
I'm looking for exactly this, and now I'm disappointed that it's not implemented :/ |
@martinvonwittich If you want to turn the patch into a PR I can take a look. |
@autarch sorry, ain't nobody got time for that :/ |
Migrated from rt.cpan.org #22901 (status was 'open')
Requestors:
Attachments:
From [email protected] 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
The text was updated successfully, but these errors were encountered: