Enable logging in clock example
This commit is contained in:
parent
7e2d0dc931
commit
62433a65e9
2 changed files with 3 additions and 0 deletions
|
|
@ -10,3 +10,4 @@ iced.workspace = true
|
|||
iced.features = ["canvas", "tokio", "debug"]
|
||||
|
||||
time = { version = "0.3", features = ["local-offset"] }
|
||||
tracing-subscriber = "0.3"
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ use iced::{
|
|||
};
|
||||
|
||||
pub fn main() -> iced::Result {
|
||||
tracing_subscriber::fmt::init();
|
||||
|
||||
iced::program("Clock - Iced", Clock::update, Clock::view)
|
||||
.subscription(Clock::subscription)
|
||||
.theme(Clock::theme)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue