mirror of
https://github.com/danbulant/cushy
synced 2026-07-08 12:40:36 +00:00
Fixing compilation with tracing disabled
This commit is contained in:
parent
e354d7d083
commit
06c3391379
1 changed files with 1 additions and 2 deletions
|
|
@ -134,7 +134,6 @@ use figures::units::UPx;
|
||||||
use figures::{Fraction, ScreenUnit, Size, Zero};
|
use figures::{Fraction, ScreenUnit, Size, Zero};
|
||||||
use kludgine::app::winit::error::EventLoopError;
|
use kludgine::app::winit::error::EventLoopError;
|
||||||
pub use names::Name;
|
pub use names::Name;
|
||||||
use tracing_subscriber::filter::Targets;
|
|
||||||
pub use utils::{Lazy, ModifiersExt, ModifiersStateExt, WithClone};
|
pub use utils::{Lazy, ModifiersExt, ModifiersStateExt, WithClone};
|
||||||
pub use {figures, kludgine};
|
pub use {figures, kludgine};
|
||||||
|
|
||||||
|
|
@ -295,7 +294,7 @@ fn initialize_tracing() {
|
||||||
#[cfg(feature = "tracing-output")]
|
#[cfg(feature = "tracing-output")]
|
||||||
{
|
{
|
||||||
use tracing::Level;
|
use tracing::Level;
|
||||||
use tracing_subscriber::filter::LevelFilter;
|
use tracing_subscriber::filter::{LevelFilter, Targets};
|
||||||
use tracing_subscriber::layer::SubscriberExt;
|
use tracing_subscriber::layer::SubscriberExt;
|
||||||
use tracing_subscriber::util::SubscriberInitExt;
|
use tracing_subscriber::util::SubscriberInitExt;
|
||||||
use tracing_subscriber::EnvFilter;
|
use tracing_subscriber::EnvFilter;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue