Skip to content

Add set_min_level() method #28

@autarch

Description

@autarch

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions