egui_logger

Crates.ioegui_logger
lib.rsegui_logger
version0.6.1
sourcesrc
created_at2022-10-24 09:14:06.246868
updated_at2024-10-03 11:04:37.898916
descriptionlog implementation for egui
homepage
repositoryhttps://github.com/RegenJacob/egui_logger
max_upload_size
id695737
size122,777
Jacob (RegenJacob)

documentation

README

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.

Commit count: 59

cargo fmt