MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / enable_logging

Function enable_logging

crates/commitlog/src/tests/helpers.rs:59–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59pub fn enable_logging() {
60 let _ = env_logger::Builder::from_env(Env::default().default_filter_or("trace"))
61 .format_timestamp(None)
62 .is_test(true)
63 .try_init();
64}

Callers 15

panics_on_partial_writeFunction · 0.70
reset_to_offsetFunction · 0.50
read_write_seekFunction · 0.50
write_many_pagesFunction · 0.50
ftruncateFunction · 0.50
fallocateFunction · 0.50
compressionFunction · 0.50
all_segments_sealedFunction · 0.50

Calls 1

try_initMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…