🚧 Add process handling framework

This commit is contained in:
Lucy 2022-06-22 14:09:59 -04:00
parent 5b9527461f
commit affb81a7a0
No known key found for this signature in database
GPG key ID: EBC517FAD666BBF1
3 changed files with 131 additions and 2 deletions

View file

@ -1,4 +1,9 @@
// SPDX-License-Identifier: GPL-3.0-only
#[macro_use]
extern crate tracing;
mod process;
use color_eyre::{eyre::WrapErr, Result};
use tracing::metadata::LevelFilter;
use tracing_subscriber::{fmt, prelude::*, EnvFilter};
@ -15,7 +20,9 @@ async fn main() -> Result<()> {
.from_env_lossy(),
)
.try_init()
.wrap_err("failed to initialize logger")?;
.wrap_err("failed to ianitialize logger")?;
info!("Starting cosmic-session");
Ok(())
}