(session_log_dir: &Path)
| 233 | } |
| 234 | |
| 235 | pub fn build_log_paths(session_log_dir: &Path) -> CliLogPaths { |
| 236 | CliLogPaths { |
| 237 | session_log_dir: session_log_dir.to_path_buf(), |
| 238 | app_log_path: session_log_dir.join("app.log"), |
| 239 | ai_log_path: session_log_dir.join("ai.log"), |
| 240 | flashgrep_log_path: session_log_dir.join("flashgrep.log"), |
| 241 | } |
| 242 | } |
| 243 | |
| 244 | fn create_rotating_writer( |
| 245 | session_log_dir: &Path, |