public IEnumerable<LogEntry> GetLogEntryDetails(string id, string entryId)
{
ITracer tracer = _traceFactory.GetTracer();
using (tracer.Step($"DeploymentManager.GetLogEntryDetails(id:{id}, entryId:{entryId}"))
{
string path = GetLogPath(id, ensureDirectory: false);
if (!FileSystemHelpers.FileExists(path))
{
throw new FileNotFoundException(String.Format(CultureInfo.CurrentCulture, Resources.Error_NoLogFound, id));
}
VerifyDeployment(id, IsDeploying);
var logger = GetLoggerForFile(path);
return logger.GetLogEntryDetails(entryId).ToList();
}
}