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 GUI

Download history 251/week @ 2024-12-23 245/week @ 2024-12-30 77/week @ 2025-01-06 171/week @ 2025-01-13 74/week @ 2025-01-20 203/week @ 2025-01-27 814/week @ 2025-02-03 513/week @ 2025-02-10 579/week @ 2025-02-17 2646/week @ 2025-02-24 2065/week @ 2025-03-03 2404/week @ 2025-03-10 2114/week @ 2025-03-17 1377/week @ 2025-03-24 1768/week @ 2025-03-31 916/week @ 2025-04-07

6,302 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
~164K SLoC