This library implements a UI for displaying log messages in egui applications.
There are also various ways to filter the logging output within the UI, such as a regex search through the messages.
puffincompatibility with the puffin crate.
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 crate, but also supports log.
Feel free to open issues and pull requests.
