1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -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

@@ -12,3 +12,4 @@ publish = false
eframe = { path = "../../crates/eframe", features = [
"__screenshot", # __screenshot is so we can dump a screenshot using EFRAME_SCREENSHOT_TO
] }
env_logger = "0.10"

View File

@@ -5,6 +5,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 {
// Hide the OS-specific "chrome" around the window:
decorated: false,