Skip to content

Make Config fields public outside Crate? #155

@Squidroot2

Description

@Squidroot2

It would be nice if the Config struct's fields were accessible outside of the crate so that one can make their own SharedLoggers that use the Config. One can make their own config struct for the same purpose but it would be nice to use the one that comes with this crate especially since the config() function is part of the SharedLogger trait.

If there is some reason that we can't make the fields themselves public, public getters returning immutable references would work just as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions