fix console subscriber

This commit is contained in:
2023-03-18 21:22:06 +01:00
parent 2007085fc0
commit 77fde7275a

View File

@@ -174,7 +174,7 @@ fn main() -> anyhow::Result<()> {
let registry = registry.with(
console_subscriber::ConsoleLayer::builder()
.retention(Duration::from_secs(60))
.init(),
.spawn(),
);
registry