print info about egui integration on startup
This commit is contained in:
parent
848588e29d
commit
a63841c3c3
@ -323,11 +323,21 @@ impl Default for MathApp {
|
|||||||
impl MathApp {
|
impl MathApp {
|
||||||
#[allow(dead_code)] // This is used lol
|
#[allow(dead_code)] // This is used lol
|
||||||
/// Create new instance of `MathApp` and return it
|
/// Create new instance of `MathApp` and return it
|
||||||
pub fn new(_cc: &eframe::CreationContext<'_>) -> Self {
|
pub fn new(cc: &eframe::CreationContext<'_>) -> Self {
|
||||||
// Remove loading indicator on wasm
|
// Remove loading indicator on wasm
|
||||||
#[cfg(target_arch = "wasm32")]
|
#[cfg(target_arch = "wasm32")]
|
||||||
stop_loading();
|
stop_loading();
|
||||||
|
|
||||||
|
tracing::info!(
|
||||||
|
"Integration name: {} Url: {:?}",
|
||||||
|
cc.integration_info.name,
|
||||||
|
if let Some(url) = &cc.integration_info.web_info {
|
||||||
|
url.location.url.clone()
|
||||||
|
} else {
|
||||||
|
"N/A".to_owned()
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
tracing::info!("egui app initialized.");
|
tracing::info!("egui app initialized.");
|
||||||
Self::default() // initialize `MathApp`
|
Self::default() // initialize `MathApp`
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user