mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
use env_logger in all examples (#2934)
This commit is contained in:
@@ -13,5 +13,6 @@ eframe = { path = "../../crates/eframe", features = [
|
||||
"puffin",
|
||||
"__screenshot", # __screenshot is so we can dump a screenshot using EFRAME_SCREENSHOT_TO
|
||||
] }
|
||||
env_logger = "0.10"
|
||||
puffin = "0.14"
|
||||
puffin_http = "0.11"
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
use eframe::egui;
|
||||
|
||||
fn main() -> Result<(), eframe::Error> {
|
||||
env_logger::init(); // Log to stderr (if you run with `RUST_LOG=debug`).
|
||||
start_puffin_server(); // NOTE: you may only want to call this if the users specifies some flag or clicks a button!
|
||||
|
||||
let options = eframe::NativeOptions::default();
|
||||
eframe::run_native(
|
||||
"My egui App",
|
||||
|
||||
Reference in New Issue
Block a user