Skip to content

Make fields in config public#162

Open
jasger9000 wants to merge 1 commit intoDrakulix:masterfrom
jasger9000:master
Open

Make fields in config public#162
jasger9000 wants to merge 1 commit intoDrakulix:masterfrom
jasger9000:master

Conversation

@jasger9000
Copy link

This PR exposes the fields in the Config struct through getter methods to make them available for users of the library while keeping the values read-only.

This enables users to create their own loggers and still be able to benefit from using one central config for their logging facility.

Closes #155

Exposes the fields in the Config struct through getter methods to make
them available for users of the library.

Closes Drakulix#155
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make Config fields public outside Crate?

1 participant