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

#176 in Debugging

Download history 181/week @ 2024-07-29 76/week @ 2024-08-05 65/week @ 2024-08-12 22/week @ 2024-08-19 30/week @ 2024-08-26 18/week @ 2024-09-02 137/week @ 2024-09-09 236/week @ 2024-09-16 270/week @ 2024-09-23 264/week @ 2024-09-30 234/week @ 2024-10-07 227/week @ 2024-10-14 144/week @ 2024-10-21 135/week @ 2024-10-28 279/week @ 2024-11-04 37/week @ 2024-11-11

604 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