milestone: desktop path Phases 1-5
Phase 1 (Runtime Substrate): 4 check binaries, --probe, POSIX tests Phase 2 (Wayland Compositor): bounded scaffold, zero warnings Phase 3 (KWin Session): preflight checker (KWin stub, gated on Qt6Quick) Phase 4 (KDE Plasma): 18 KF6 enabled, preflight checker Phase 5 (Hardware GPU): DRM/firmware/Mesa preflight checker Build: zero warnings, all scripts syntax-clean. Oracle-verified.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
use redox_log::{OutputBuilder, RedoxLogger};
|
||||
|
||||
pub fn init_logger(process_name: &str) {
|
||||
if let Err(_) = RedoxLogger::new()
|
||||
.with_output(
|
||||
OutputBuilder::stdout()
|
||||
.with_ansi_escape_codes()
|
||||
.flush_on_newline(true)
|
||||
.with_filter(log::LevelFilter::Trace)
|
||||
.build(),
|
||||
)
|
||||
.with_process_name(process_name.into())
|
||||
.enable()
|
||||
{
|
||||
eprintln!("{process_name}: Failed to init logger")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user