4 releases

Uses new Rust 2021

0.2.2 Nov 3, 2022
0.2.1 Oct 25, 2022
0.2.0 Oct 24, 2022
0.1.0 Oct 24, 2022

#201 in Debugging

Download history 71/week @ 2022-10-23 32/week @ 2022-10-30 7/week @ 2022-11-06 3/week @ 2022-11-13 126/week @ 2022-11-27

136 downloads per month

MIT license

16KB
108 lines

Crates.io docs.rs

egui_logger

This library implements log logging support into egui applications.

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::loger_ui(ui);
});

Contribution

Feel free to open issues and pull requests.

Dependencies

~3–7.5MB
~119K SLoC