1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

use env_logger in all examples (#2934)

This commit is contained in:
Emil Ernerfeldt
2023-04-19 16:35:38 +02:00
committed by GitHub
parent e3a021eea6
commit ce761e548f
33 changed files with 76 additions and 37 deletions

View File

@@ -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",