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.
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.