Clean up logging

This commit is contained in:
Vicki Pfau 2024-03-19 17:53:36 -07:00
parent 4a4b021ea5
commit 96efd91228
4 changed files with 70 additions and 26 deletions

View file

@ -24,6 +24,7 @@
*/
use anyhow::Result;
use tracing_subscriber;
use zbus::ConnectionBuilder;
pub mod manager;
@ -33,6 +34,8 @@ async fn main() -> Result<()> {
// This daemon is responsible for creating a dbus api that steam client can use to do various OS
// level things. It implements com.steampowered.SteamOSManager1 interface
tracing_subscriber::fmt::init();
let manager = manager::SMManager::new()?;
let _system_connection = ConnectionBuilder::system()?