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

#145 in GUI

Download history 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 92/week @ 2025-01-07 147/week @ 2025-01-14 83/week @ 2025-01-21 223/week @ 2025-01-28 909/week @ 2025-02-04 450/week @ 2025-02-11 962/week @ 2025-02-18 2545/week @ 2025-02-25 1936/week @ 2025-03-04 2525/week @ 2025-03-11 1756/week @ 2025-03-18

9,216 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