aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorFxQnLr <[email protected]>2024-04-10 20:15:39 +0200
committerFxQnLr <[email protected]>2024-04-10 20:15:39 +0200
commit69d3e0e6564b416637978a69f0a035066aea4759 (patch)
tree90c5b80a808f9c71cd3440add52b023973ae5b3b /src/main.rs
parent07740f3d985b4cc921b69cd45ec9191a2daecd67 (diff)
downloadwebol-69d3e0e6564b416637978a69f0a035066aea4759.tar
webol-69d3e0e6564b416637978a69f0a035066aea4759.tar.gz
webol-69d3e0e6564b416637978a69f0a035066aea4759.zip
Closes #30 and #27. At least a little
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 8af8c63..204c318 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -10,7 +10,7 @@ use dashmap::DashMap;
10use std::{env, sync::Arc}; 10use std::{env, sync::Arc};
11use time::UtcOffset; 11use time::UtcOffset;
12use tokio::sync::broadcast::{channel, Sender}; 12use tokio::sync::broadcast::{channel, Sender};
13use tracing::{info, level_filters::LevelFilter}; 13use tracing::{info, level_filters::LevelFilter, trace};
14use tracing_subscriber::{ 14use tracing_subscriber::{
15 fmt::{self, time::OffsetTime}, 15 fmt::{self, time::OffsetTime},
16 prelude::*, 16 prelude::*,
@@ -89,11 +89,12 @@ async fn main() -> color_eyre::eyre::Result<()> {
89 .from_env_lossy(), 89 .from_env_lossy(),
90 ) 90 )
91 .init(); 91 .init();
92 trace!("logging initialized");
92 93
93 Device::setup()?; 94 Device::setup()?;
94 95
95 let version = env!("CARGO_PKG_VERSION"); 96 let version = env!("CARGO_PKG_VERSION");
96 info!("start webol v{}", version); 97 info!(?version, "start webol");
97 98
98 let (tx, _) = channel(32); 99 let (tx, _) = channel(32);
99 100