Added tracing to multi_window applications
This commit is contained in:
parent
f78ccd9af9
commit
790fa3e7a0
7 changed files with 94 additions and 36 deletions
|
|
@ -1,6 +1,4 @@
|
|||
//! Create interactive, native cross-platform applications.
|
||||
#[cfg(feature = "trace")]
|
||||
mod profiler;
|
||||
mod state;
|
||||
|
||||
pub use state::State;
|
||||
|
|
@ -27,7 +25,7 @@ pub use iced_native::application::{Appearance, StyleSheet};
|
|||
use std::mem::ManuallyDrop;
|
||||
|
||||
#[cfg(feature = "trace")]
|
||||
pub use profiler::Profiler;
|
||||
pub use crate::Profiler;
|
||||
#[cfg(feature = "trace")]
|
||||
use tracing::{info_span, instrument::Instrument};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue