MCPcopy Create free account
hub / github.com/PRQL/prql / log_stage

Function log_stage

prqlc/prqlc/src/debug/log.rs:45–47  ·  view source on GitHub ↗
(stage: Stage)

Source from the content-addressed store, hash-verified

43}
44
45pub fn log_stage(stage: Stage) {
46 log_entry(|| DebugEntryKind::NewStage(stage));
47}
48
49pub fn log_entry(entry: impl FnOnce() -> DebugEntryKind) {
50 let mut lock: std::sync::RwLockWriteGuard<'_, Option<DebugLog>> = CURRENT_LOG.write().unwrap();

Callers 5

parseFunction · 0.85
translate_queryFunction · 0.85
compile_queryFunction · 0.85
resolve_and_lowerFunction · 0.85
resolveFunction · 0.85

Calls 1

log_entryFunction · 0.85

Tested by

no test coverage detected