MCPcopy Create free account
hub / github.com/hashintel/hash / init_logging

Function init_logging

tests/graph/integration/postgres/lib.rs:145–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

143}
144
145pub fn init_logging() {
146 // It's likely that the initialization failed due to a previous initialization attempt. In this
147 // case, we can ignore the error.
148 let _: core::result::Result<_, _> = tracing_subscriber::fmt()
149 .with_ansi(true)
150 .with_env_filter(env_filter(None))
151 .with_file(true)
152 .with_line_number(true)
153 .with_test_writer()
154 .try_init();
155}
156
157impl DatabaseTestWrapper {
158 pub async fn new() -> Self {

Callers 1

new_with_settingsMethod · 0.70

Calls 3

env_filterFunction · 0.85
with_ansiMethod · 0.80
fmtFunction · 0.50

Tested by

no test coverage detected