Skip to content

Add is_scope() method for querying state of existing scopes #4

@MollyMaclachlan

Description

@MollyMaclachlan

Suggested usage:

logger.is_scope("DEBUG") # -> True if "DEBUG" scope exists
logger.is_scope("DEBUG", Categories.ENABLED) # -> True if "DEBUG" scope exists and is enabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions