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