17 unstable releases (5 breaking)

0.6.3 Feb 23, 2025
0.6.2 Dec 27, 2024
0.6.1 Oct 3, 2024
0.5.0 Jul 10, 2024
0.2.2 Nov 3, 2022

#152 in Debugging

Download history 42/week @ 2024-11-17 139/week @ 2024-11-24 256/week @ 2024-12-01 668/week @ 2024-12-08 209/week @ 2024-12-15 259/week @ 2024-12-22 279/week @ 2024-12-29 81/week @ 2025-01-05 150/week @ 2025-01-12 90/week @ 2025-01-19 204/week @ 2025-01-26 718/week @ 2025-02-02 593/week @ 2025-02-09 508/week @ 2025-02-16 2668/week @ 2025-02-23 1814/week @ 2025-03-02

5,764 downloads per month

MIT license

32KB
464 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
~162K SLoC