Skip to content

Clean logger subscriptions upon reconfiguration #6

@mkorbel1

Description

@mkorbel1

Describe the bug

If a logger is reconfigured with configureLogger, the old stream still sticks around. It would be better to clean up the old subscription (close it) so that we don't get duplicates every time its reconfigured.

To Reproduce

No response

Expected behavior

No response

Actual behavior

No response

Additional: Dart SDK info

No response

Additional: pubspec.yaml

Additional: Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions