15 unstable releases (5 breaking)
0.6.1 | Oct 3, 2024 |
---|---|
0.5.0 | Jul 10, 2024 |
0.4.4 | Mar 28, 2024 |
0.4.1 | Nov 25, 2023 |
0.2.2 | Nov 3, 2022 |
#190 in Debugging
533 downloads per month
32KB
466 lines
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::builder().init().unwrap();
}
inside your ui logic:
fn ui(ctx: &egui::Context) {
egui::Window::new("Log").show(ctx, |ui| {
// draws the logger ui.
egui_logger::logger_ui().show(ui);
});
}
Alternatives
- egui_tracing primarily for the tracing create, but also supports log.
Contribution
Feel free to open issues and pull requests.
Dependencies
~7–13MB
~159K SLoC