(path: &Path)
| 452 | |
| 453 | #[cfg(not(unix))] |
| 454 | fn read_hook_marker_secs(path: &Path) -> Option<i64> { |
| 455 | std::fs::read_to_string(path) |
| 456 | .ok()? |
| 457 | .trim() |
| 458 | .parse::<i64>() |
| 459 | .ok() |
| 460 | } |
| 461 | |
| 462 | fn format_daemon_log_line(event: &str, fields: &[(&str, String)]) -> String { |
| 463 | let mut line = format!("[tracedecay] event={}", quote_log_value(event)); |
no outgoing calls
no test coverage detected