Skip to content

Commit

Permalink
no colors in console
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Oct 7, 2024
1 parent a7034ec commit 47e8cf2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ static INIT: OnceCell<()> = OnceCell::const_new();
pub async fn init() {
INIT.get_or_init(|| async {
console::log_1(&"INIT".into());
tracing_wasm::set_as_global_default();
let config = tracing_wasm::WASMLayerConfigBuilder::default()
.set_console_config(tracing_wasm::ConsoleConfig::ReportWithoutConsoleColor)
.build();
tracing_wasm::set_as_global_default_with_config(config);
console_error_panic_hook::set_once();
diesel_wasm_sqlite::init_sqlite().await;
})
Expand Down

0 comments on commit 47e8cf2

Please sign in to comment.