This library implements log
logging support into egui
applications.
There is also advanced search via regex.
fn main() {
// Should be called very early in the program.
egui_logger::builder().init().unwrap();
}
fn ui(ctx: &egui::Context) {
egui::Window::new("Log").show(ctx, |ui| {
// draws the logger ui.
egui_logger::logger_ui().show(ui);
});
}
- egui_tracing primarily for the tracing create, but also supports log.
Feel free to open issues and pull requests.