select_log_file

Function select_log_file 

Source
fn select_log_file(
    gctx: &GlobalContext,
    ws: Option<&Workspace<'_>>,
) -> CargoResult<Option<(PathBuf, RunId)>>
Expand description

Selects the appropriate log file.

Currently look at the newest log file for the workspace. If not in a workspace, pick the newest log file in the log directory.