mirror of
https://github.com/OMGeeky/confique.git
synced 2026-01-20 02:11:27 +01:00
Add typename attribute and refactor a bunch
This commit should have been two, I know. I feel bad about it.
This commit is contained in:
@@ -28,6 +28,8 @@ crate::config! {
|
||||
/// How often to reattempt reaching the DNS server.
|
||||
retry_attempts: u32 = 27,
|
||||
},
|
||||
|
||||
#[typename = "Logger"]
|
||||
log: {
|
||||
/// Sets the log level. Possible values: "trace", "debug", "info",
|
||||
/// "warn", "error" and "off".
|
||||
|
||||
Reference in New Issue
Block a user