Skip to content

Commit

Permalink
Reorder console allocation and enable color calls in example support (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
vsylva authored Mar 10, 2024
1 parent b28fba3 commit a67a07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/support/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ use tracing_subscriber::prelude::*;
use tracing_subscriber::{fmt, EnvFilter};

pub fn setup_tracing() {
hudhook::enable_console_colors();
hudhook::alloc_console().unwrap();
hudhook::enable_console_colors();
dotenv::dotenv().ok();
std::env::set_var("RUST_LOG", "trace");

Expand Down

0 comments on commit a67a07a

Please sign in to comment.