16 unstable releases (5 breaking)

0.6.2 Dec 27, 2024
0.6.1 Oct 3, 2024
0.6.0 Sep 21, 2024
0.5.0 Jul 10, 2024
0.2.2 Nov 3, 2022

#229 in Debugging

Download history 252/week @ 2024-10-30 121/week @ 2024-11-06 42/week @ 2024-11-13 121/week @ 2024-11-20 255/week @ 2024-11-27 428/week @ 2024-12-04 443/week @ 2024-12-11 182/week @ 2024-12-18 235/week @ 2024-12-25 211/week @ 2025-01-01 110/week @ 2025-01-08 142/week @ 2025-01-15 73/week @ 2025-01-22 310/week @ 2025-01-29 967/week @ 2025-02-05 279/week @ 2025-02-12

1,651 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–14MB
~160K SLoC