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

Method log_path

src/telemetry.rs:151–154  ·  view source on GitHub ↗

Get the current log file path (date-based rotation).

(&self)

Source from the content-addressed store, hash-verified

149
150 /// Get the current log file path (date-based rotation).
151 fn log_path(&self) -> PathBuf {
152 let date_str = chrono::Local::now().format("%Y-%m-%d");
153 self.log_dir.join(format!("telemetry-{date_str}.log"))
154 }
155
156 /// Log a command invocation.
157 ///

Callers 1

log_commandMethod · 0.80

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected