20 unstable releases (8 breaking)
| 0.9.0 | Oct 15, 2025 |
|---|---|
| 0.8.0 | Jul 21, 2025 |
| 0.7.0 | Apr 29, 2025 |
| 0.6.3 | Feb 23, 2025 |
| 0.2.2 | Nov 3, 2022 |
#173 in GUI
5,007 downloads per month
37KB
593 lines
egui_logger
This library implements a UI for displaying log messages in egui applications.
There are also various ways to filter the logging output within the UI, such as a regex search through the messages.
Demo

Features
puffincompatibility with the puffin crate.
Example
Initializing:
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
- egui_tracing primarily for the tracing crate, but also supports log.
Contribution
Feel free to open issues and pull requests.
Dependencies
~6.5–9MB
~160K SLoC