Crates.io | egui_logger |
lib.rs | egui_logger |
version | 0.6.1 |
source | src |
created_at | 2022-10-24 09:14:06.246868 |
updated_at | 2024-10-03 11:04:37.898916 |
description | log implementation for egui |
homepage | |
repository | https://github.com/RegenJacob/egui_logger |
max_upload_size | |
id | 695737 |
size | 122,777 |
This library implements log
logging support into egui
applications.
There is also advanced search via regex.
fn main() {
// Should be called very early in the program.
egui_logger::builder().init().unwrap();
}
fn ui(ctx: &egui::Context) {
egui::Window::new("Log").show(ctx, |ui| {
// draws the logger ui.
egui_logger::logger_ui().show(ui);
});
}
Feel free to open issues and pull requests.