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

Download history 1335/week @ 2025-07-25 994/week @ 2025-08-01 1210/week @ 2025-08-08 1228/week @ 2025-08-15 1137/week @ 2025-08-22 912/week @ 2025-08-29 1269/week @ 2025-09-05 1347/week @ 2025-09-12 1614/week @ 2025-09-19 1421/week @ 2025-09-26 1331/week @ 2025-10-03 1672/week @ 2025-10-10 2084/week @ 2025-10-17 1558/week @ 2025-10-24 613/week @ 2025-10-31 419/week @ 2025-11-07

5,007 downloads per month

MIT license

37KB
593 lines

Crates.io docs.rs

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

demo

Features

  • puffin compatibility 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

Contribution

Feel free to open issues and pull requests.

Dependencies

~6.5–9MB
~160K SLoC