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

#179 in Debugging

Download history 28/week @ 2024-07-14 6/week @ 2024-07-21 167/week @ 2024-07-28 89/week @ 2024-08-04 60/week @ 2024-08-11 25/week @ 2024-08-18 33/week @ 2024-08-25 9/week @ 2024-09-01 138/week @ 2024-09-08 213/week @ 2024-09-15 298/week @ 2024-09-22 256/week @ 2024-09-29 225/week @ 2024-10-06 239/week @ 2024-10-13 149/week @ 2024-10-20 109/week @ 2024-10-27

738 downloads per month

MIT license

32KB
466 lines

Crates.io docs.rs

egui_logger

This library implements log logging support into egui applications. There is also advanced search via regex.

Demo

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

Contribution

Feel free to open issues and pull requests.

Dependencies

~7–13MB
~160K SLoC