MCPcopy Create free account
hub / github.com/Licoy/fetch-github-hosts / cli_log

Function cli_log

src-tauri/src/cli.rs:239–242  ·  view source on GitHub ↗

Print log with timestamp to stdout

(msg: &str)

Source from the content-addressed store, hash-verified

237
238/// Print log with timestamp to stdout
239fn cli_log(msg: &str) {
240 let now = chrono::Local::now().format("%Y-%m-%d %H:%M:%S");
241 println!("[{}] {}", now, msg);
242}

Callers 3

run_client_cliFunction · 0.85
run_server_cliFunction · 0.85
start_cli_http_serverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected