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

#154 in Debugging

Download history 240/week @ 2024-09-24 254/week @ 2024-10-01 312/week @ 2024-10-08 152/week @ 2024-10-15 138/week @ 2024-10-22 192/week @ 2024-10-29 214/week @ 2024-11-05 37/week @ 2024-11-12 97/week @ 2024-11-19 275/week @ 2024-11-26 151/week @ 2024-12-03 697/week @ 2024-12-10 164/week @ 2024-12-17 262/week @ 2024-12-24 230/week @ 2024-12-31 75/week @ 2025-01-07

754 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