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

#177 in Debugging

Download history 106/week @ 2024-08-02 47/week @ 2024-08-09 44/week @ 2024-08-16 28/week @ 2024-08-23 13/week @ 2024-08-30 55/week @ 2024-09-06 158/week @ 2024-09-13 399/week @ 2024-09-20 234/week @ 2024-09-27 213/week @ 2024-10-04 293/week @ 2024-10-11 131/week @ 2024-10-18 103/week @ 2024-10-25 300/week @ 2024-11-01 76/week @ 2024-11-08 29/week @ 2024-11-15

546 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