MCPcopy Create free account
hub / github.com/aeroxy/chrome-devtools-cli / shutdown_logger

Function shutdown_logger

src/telemetry.rs:226–230  ·  view source on GitHub ↗

Shut down the global telemetry logger gracefully. Signals the background thread to exit after processing any pending log entries in the channel. No-op if the logger hasn't been initialized.

()

Source from the content-addressed store, hash-verified

224/// pending log entries in the channel. No-op if the logger hasn't
225/// been initialized.
226pub fn shutdown_logger() {
227 if let Some(logger) = logger() {
228 logger.shutdown();
229 }
230}
231
232/// Open a log file with proper options for append-only writing.
233///

Callers 3

mainFunction · 0.85
print_responseFunction · 0.85
run_daemonFunction · 0.85

Calls 2

loggerFunction · 0.85
shutdownMethod · 0.80

Tested by

no test coverage detected