mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
use env_logger in all examples (#2934)
This commit is contained in:
@@ -13,3 +13,4 @@ eframe = { path = "../../crates/eframe", features = [
|
||||
"__screenshot", # __screenshot is so we can dump a screenshot using EFRAME_SCREENSHOT_TO
|
||||
] }
|
||||
egui_extras = { path = "../../crates/egui_extras", features = ["svg"] }
|
||||
env_logger = "0.10"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
use eframe::egui;
|
||||
|
||||
fn main() -> Result<(), eframe::Error> {
|
||||
env_logger::init(); // Log to stderr (if you run with `RUST_LOG=debug`).
|
||||
let options = eframe::NativeOptions {
|
||||
initial_window_size: Some(egui::vec2(1000.0, 700.0)),
|
||||
..Default::default()
|
||||
|
||||
Reference in New Issue
Block a user