move register function into module so logging filtering can be applied
@@ -98,6 +98,8 @@ cfg_async! {
}
cfg_async! {
+ mod register {
+ use super::*;
/**
Write the provided `UserConfig` to the ***async*** writer
@@ -144,6 +146,9 @@ cfg_async! {
writer.flush().await.map_err(Into::into)
}
}
+ #[doc(inline)]
+ pub use register::register;
+}
cfg_async! {
const TWITCH_DOMAIN: &str = "irc.chat.twitch.tv";
