Skip to content

Way to unset/remove log handlers? #24

Open
@martinklepsch

Description

@martinklepsch

Hey there :)

Finally found some time to play with this library and gotta say it's really nice how easy it is to add a custom logger.

During development in the REPL I sometimes wanted to remove all logging handlers just to have a "clean slate". I think there's a check to not add the same handler twice but with a REPL session my handler function might have changed and glogi might not be able to know that it's intended to replace an existing handler.

Is there a way to remove all handlers for a situation like this?

Thanks 🙌

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions