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

Function drop_logger

crates/core/src/database_logger.rs:718–723  ·  view source on GitHub ↗
(logger: Arc<DatabaseLogger>)

Source from the content-addressed store, hash-verified

716 }
717
718 fn drop_logger(logger: Arc<DatabaseLogger>) {
719 Arc::try_unwrap(logger)
720 .map(drop)
721 .map_err(drop)
722 .expect("logger should be unique");
723 }
724
725 /// Test calling [DatabaseLogger::tail] with `Some(n)`.
726 ///

Callers 2

tail_fFunction · 0.85
tail_nfFunction · 0.85

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…