12 releases

0.4.4 Mar 28, 2024
0.4.2 Jan 11, 2024
0.4.1 Nov 25, 2023
0.3.1 Jun 1, 2023
0.2.2 Nov 3, 2022

#184 in GUI

42 downloads per month

MIT license

28KB
199 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::init().unwrap(); 
}

inside your ui logic:

Window::new("Log")::show(ctx, |ui| {
  // draws the logger ui.
  egui_logger::logger_ui(ui);
});

Alternatives

Contribution

Feel free to open issues and pull requests.

Dependencies

~7–13MB
~135K SLoC